@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupSampleSeries extends Object implements BackupGroupSampleSeries
BackupGroupSampleSeries
.
Use the builder to create immutable instances:
ImmutableBackupGroupSampleSeries.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableBackupGroupSampleSeries.Builder
Builds instances of type
ImmutableBackupGroupSampleSeries . |
Modifier and Type | Method and Description |
---|---|
BackupClusterUid |
backupClusterUid()
Associated backup cluster UID.
|
BackupGroupUid |
backupGroupUid()
The UID of the backup group.
|
static ImmutableBackupGroupSampleSeries.Builder |
builder()
Creates a builder for
ImmutableBackupGroupSampleSeries . |
CompanyId |
companyId()
Associated company ID.
|
static ImmutableBackupGroupSampleSeries |
copyOf(BackupGroupSampleSeries instance)
Creates an immutable copy of a
BackupGroupSampleSeries value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroupSampleSeries that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
locationId , companyId , orgUuid , vdcUuid , backupClusterUid , samples , backupGroupUid , metric . |
LocationId |
locationId()
Associated location ID.
|
BackupGroupSampleMetric |
metric()
The sample metric.
|
OrgUuid |
orgUuid()
Associated org UUID.
|
com.google.common.collect.ImmutableList<Sample> |
samples()
List of samples.
|
String |
toString()
Prints the immutable value
BackupGroupSampleSeries with attribute values. |
VdcUuid |
vdcUuid()
Associated vDC UUID.
|
ImmutableBackupGroupSampleSeries |
withBackupClusterUid(BackupClusterUid value)
Copy the current immutable object by setting a value for the
backupClusterUid attribute. |
ImmutableBackupGroupSampleSeries |
withBackupGroupUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
backupGroupUid attribute. |
ImmutableBackupGroupSampleSeries |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableBackupGroupSampleSeries |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableBackupGroupSampleSeries |
withMetric(BackupGroupSampleMetric value)
Copy the current immutable object by setting a value for the
metric attribute. |
ImmutableBackupGroupSampleSeries |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableBackupGroupSampleSeries |
withSamples(Iterable<? extends Sample> elements)
Copy the current immutable object with elements that replace the content of
samples . |
ImmutableBackupGroupSampleSeries |
withSamples(Sample... elements)
Copy the current immutable object with elements that replace the content of
samples . |
ImmutableBackupGroupSampleSeries |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public LocationId locationId()
locationId
in interface SampleSeries
public CompanyId companyId()
companyId
in interface SampleSeries
public OrgUuid orgUuid()
orgUuid
in interface SampleSeries
public VdcUuid vdcUuid()
vdcUuid
in interface SampleSeries
public BackupClusterUid backupClusterUid()
backupClusterUid
in interface SampleSeries
public com.google.common.collect.ImmutableList<Sample> samples()
samples
in interface SampleSeries
public BackupGroupUid backupGroupUid()
backupGroupUid
in interface BackupGroupSampleSeries
public BackupGroupSampleMetric metric()
metric
in interface BackupGroupSampleSeries
public final ImmutableBackupGroupSampleSeries withLocationId(LocationId value)
locationId
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for locationIdthis
objectpublic final ImmutableBackupGroupSampleSeries withCompanyId(CompanyId value)
companyId
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for companyIdthis
objectpublic final ImmutableBackupGroupSampleSeries 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 ImmutableBackupGroupSampleSeries 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 ImmutableBackupGroupSampleSeries withBackupClusterUid(BackupClusterUid value)
backupClusterUid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for backupClusterUidthis
objectpublic final ImmutableBackupGroupSampleSeries withSamples(Sample... elements)
samples
.elements
- The elements to setthis
objectpublic final ImmutableBackupGroupSampleSeries withSamples(Iterable<? extends Sample> elements)
samples
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of samples elements to setthis
objectpublic final ImmutableBackupGroupSampleSeries 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 ImmutableBackupGroupSampleSeries withMetric(BackupGroupSampleMetric value)
metric
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for metricthis
objectpublic boolean equals(@Nullable Object another)
ImmutableBackupGroupSampleSeries
that have equal attribute values.public int hashCode()
locationId
, companyId
, orgUuid
, vdcUuid
, backupClusterUid
, samples
, backupGroupUid
, metric
.public String toString()
BackupGroupSampleSeries
with attribute values.public static ImmutableBackupGroupSampleSeries copyOf(BackupGroupSampleSeries instance)
BackupGroupSampleSeries
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 ImmutableBackupGroupSampleSeries.Builder builder()
ImmutableBackupGroupSampleSeries
.
ImmutableBackupGroupSampleSeries.builder() .locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // requiredlocationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // requiredcompanyId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // requiredorgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.backupClusterUid(com.iland.cohesity.iaas.backups.common.model.BackupClusterUid) // requiredbackupClusterUid
.addSamples|addAllSamples(com.iland.cohesity.iaas.backups.samples.model.Sample) //samples
elements .backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // requiredbackupGroupUid
.metric(com.iland.cohesity.iaas.backups.samples.enums.BackupGroupSampleMetric) // requiredmetric
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.