@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupSummaryStats extends Object implements BackupGroupSummaryStats
BackupGroupSummaryStats
.
Use the builder to create immutable instances:
ImmutableBackupGroupSummaryStats.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableBackupGroupSummaryStats.Builder
Builds instances of type
ImmutableBackupGroupSummaryStats . |
Modifier and Type | Method and Description |
---|---|
BackupGroupUid |
backupGroupUid()
The backup group UID.
|
static ImmutableBackupGroupSummaryStats.Builder |
builder()
Creates a builder for
ImmutableBackupGroupSummaryStats . |
static ImmutableBackupGroupSummaryStats |
copyOf(BackupGroupSummaryStats instance)
Creates an immutable copy of a
BackupGroupSummaryStats value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroupSummaryStats that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
backupGroupUid , stats . |
SummaryStats |
stats()
The backup group summary stats.
|
String |
toString()
Prints the immutable value
BackupGroupSummaryStats with attribute values. |
ImmutableBackupGroupSummaryStats |
withBackupGroupUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
backupGroupUid attribute. |
ImmutableBackupGroupSummaryStats |
withStats(SummaryStats value)
Copy the current immutable object by setting a value for the
stats attribute. |
public BackupGroupUid backupGroupUid()
backupGroupUid
in interface BackupGroupSummaryStats
BackupGroupUid
public SummaryStats stats()
stats
in interface BackupGroupSummaryStats
SummaryStats
public final ImmutableBackupGroupSummaryStats withBackupGroupUid(BackupGroupUid value)
backupGroupUid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for backupGroupUidthis
objectpublic final ImmutableBackupGroupSummaryStats withStats(SummaryStats value)
stats
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for statsthis
objectpublic boolean equals(@Nullable Object another)
ImmutableBackupGroupSummaryStats
that have equal attribute values.public int hashCode()
backupGroupUid
, stats
.public String toString()
BackupGroupSummaryStats
with attribute values.public static ImmutableBackupGroupSummaryStats copyOf(BackupGroupSummaryStats instance)
BackupGroupSummaryStats
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 ImmutableBackupGroupSummaryStats.Builder builder()
ImmutableBackupGroupSummaryStats
.
ImmutableBackupGroupSummaryStats.builder() .backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // requiredbackupGroupUid
.stats(com.iland.cohesity.iaas.backups.common.model.SummaryStats) // requiredstats
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.