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