@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVdcBackupSummaryStats extends Object implements VdcBackupSummaryStats
VdcBackupSummaryStats
.
Use the builder to create immutable instances:
ImmutableVdcBackupSummaryStats.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableVdcBackupSummaryStats.Builder
Builds instances of type
ImmutableVdcBackupSummaryStats . |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<BackupGroupSummaryStats> |
backupGroupStats()
Set of underlying backup group stats.
|
static ImmutableVdcBackupSummaryStats.Builder |
builder()
Creates a builder for
ImmutableVdcBackupSummaryStats . |
static ImmutableVdcBackupSummaryStats |
copyOf(VdcBackupSummaryStats instance)
Creates an immutable copy of a
VdcBackupSummaryStats value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVdcBackupSummaryStats that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
vdcUuid , stats , backupGroupStats . |
SummaryStats |
stats()
Summary stats for the vDC.
|
String |
toString()
Prints the immutable value
VdcBackupSummaryStats with attribute values. |
VdcUuid |
vdcUuid()
UUID of the vDC.
|
ImmutableVdcBackupSummaryStats |
withBackupGroupStats(BackupGroupSummaryStats... elements)
Copy the current immutable object with elements that replace the content of
backupGroupStats . |
ImmutableVdcBackupSummaryStats |
withBackupGroupStats(Iterable<? extends BackupGroupSummaryStats> elements)
Copy the current immutable object with elements that replace the content of
backupGroupStats . |
ImmutableVdcBackupSummaryStats |
withStats(SummaryStats value)
Copy the current immutable object by setting a value for the
stats attribute. |
ImmutableVdcBackupSummaryStats |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public VdcUuid vdcUuid()
vdcUuid
in interface VdcBackupSummaryStats
VdcUuid
public SummaryStats stats()
stats
in interface VdcBackupSummaryStats
SummaryStats
public com.google.common.collect.ImmutableSet<BackupGroupSummaryStats> backupGroupStats()
backupGroupStats
in interface VdcBackupSummaryStats
Set
of BackupGroupSummaryStats
public final ImmutableVdcBackupSummaryStats withVdcUuid(VdcUuid value)
vdcUuid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for vdcUuidthis
objectpublic final ImmutableVdcBackupSummaryStats 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 final ImmutableVdcBackupSummaryStats withBackupGroupStats(BackupGroupSummaryStats... elements)
backupGroupStats
.elements
- The elements to setthis
objectpublic final ImmutableVdcBackupSummaryStats withBackupGroupStats(Iterable<? extends BackupGroupSummaryStats> elements)
backupGroupStats
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of backupGroupStats elements to setthis
objectpublic boolean equals(@Nullable Object another)
ImmutableVdcBackupSummaryStats
that have equal attribute values.public int hashCode()
vdcUuid
, stats
, backupGroupStats
.public String toString()
VdcBackupSummaryStats
with attribute values.public static ImmutableVdcBackupSummaryStats copyOf(VdcBackupSummaryStats instance)
VdcBackupSummaryStats
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 ImmutableVdcBackupSummaryStats.Builder builder()
ImmutableVdcBackupSummaryStats
.
ImmutableVdcBackupSummaryStats.builder() .vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.stats(com.iland.cohesity.iaas.backups.common.model.SummaryStats) // requiredstats
.addBackupGroupStats|addAllBackupGroupStats(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupGroupSummaryStats) //backupGroupStats
elements .build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.