@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupDeletionParams extends Object implements BackupGroupDeletionParams
BackupGroupDeletionParams
.
Use the builder to create immutable instances:
ImmutableBackupGroupDeletionParams.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableBackupGroupDeletionParams.Builder
Builds instances of type
ImmutableBackupGroupDeletionParams . |
Modifier and Type | Method and Description |
---|---|
static ImmutableBackupGroupDeletionParams.Builder |
builder()
Creates a builder for
ImmutableBackupGroupDeletionParams . |
static ImmutableBackupGroupDeletionParams |
copyOf(BackupGroupDeletionParams instance)
Creates an immutable copy of a
BackupGroupDeletionParams value. |
boolean |
deleteSnapshots()
Indicates whether existing snapshots that are associated with the backup
group should also be deleted.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroupDeletionParams that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
deleteSnapshots . |
String |
toString()
Prints the immutable value
BackupGroupDeletionParams with attribute values. |
ImmutableBackupGroupDeletionParams |
withDeleteSnapshots(boolean value)
Copy the current immutable object by setting a value for the
deleteSnapshots attribute. |
public boolean deleteSnapshots()
deleteSnapshots
in interface BackupGroupDeletionParams
public final ImmutableBackupGroupDeletionParams withDeleteSnapshots(boolean value)
deleteSnapshots
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for deleteSnapshotsthis
objectpublic boolean equals(@Nullable Object another)
ImmutableBackupGroupDeletionParams
that have equal attribute values.public int hashCode()
deleteSnapshots
.public String toString()
BackupGroupDeletionParams
with attribute values.public static ImmutableBackupGroupDeletionParams copyOf(BackupGroupDeletionParams instance)
BackupGroupDeletionParams
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableBackupGroupDeletionParams.Builder builder()
ImmutableBackupGroupDeletionParams
.
ImmutableBackupGroupDeletionParams.builder()
.deleteSnapshots(boolean) // required deleteSnapshots
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.