@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVdcSampleSeries extends Object implements VdcSampleSeries
VdcSampleSeries
.
Use the builder to create immutable instances:
ImmutableVdcSampleSeries.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableVdcSampleSeries.Builder
Builds instances of type
ImmutableVdcSampleSeries . |
Modifier and Type | Method and Description |
---|---|
BackupClusterUid |
backupClusterUid()
Associated backup cluster UID.
|
static ImmutableVdcSampleSeries.Builder |
builder()
Creates a builder for
ImmutableVdcSampleSeries . |
CompanyId |
companyId()
Associated company ID.
|
static ImmutableVdcSampleSeries |
copyOf(VdcSampleSeries instance)
Creates an immutable copy of a
VdcSampleSeries value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVdcSampleSeries that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
locationId , companyId , orgUuid , vdcUuid , backupClusterUid , samples , metric . |
LocationId |
locationId()
Associated location ID.
|
VdcSampleMetric |
metric()
The vDC sample metric.
|
OrgUuid |
orgUuid()
Associated org UUID.
|
com.google.common.collect.ImmutableList<Sample> |
samples()
List of samples.
|
String |
toString()
Prints the immutable value
VdcSampleSeries with attribute values. |
VdcUuid |
vdcUuid()
Associated vDC UUID.
|
ImmutableVdcSampleSeries |
withBackupClusterUid(BackupClusterUid value)
Copy the current immutable object by setting a value for the
backupClusterUid attribute. |
ImmutableVdcSampleSeries |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableVdcSampleSeries |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableVdcSampleSeries |
withMetric(VdcSampleMetric value)
Copy the current immutable object by setting a value for the
metric attribute. |
ImmutableVdcSampleSeries |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableVdcSampleSeries |
withSamples(Iterable<? extends Sample> elements)
Copy the current immutable object with elements that replace the content of
samples . |
ImmutableVdcSampleSeries |
withSamples(Sample... elements)
Copy the current immutable object with elements that replace the content of
samples . |
ImmutableVdcSampleSeries |
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 VdcSampleMetric metric()
metric
in interface VdcSampleSeries
public final ImmutableVdcSampleSeries 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 ImmutableVdcSampleSeries 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 ImmutableVdcSampleSeries 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 ImmutableVdcSampleSeries 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 ImmutableVdcSampleSeries 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 ImmutableVdcSampleSeries withSamples(Sample... elements)
samples
.elements
- The elements to setthis
objectpublic final ImmutableVdcSampleSeries 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 ImmutableVdcSampleSeries withMetric(VdcSampleMetric 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)
ImmutableVdcSampleSeries
that have equal attribute values.public int hashCode()
locationId
, companyId
, orgUuid
, vdcUuid
, backupClusterUid
, samples
, metric
.public String toString()
VdcSampleSeries
with attribute values.public static ImmutableVdcSampleSeries copyOf(VdcSampleSeries instance)
VdcSampleSeries
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 ImmutableVdcSampleSeries.Builder builder()
ImmutableVdcSampleSeries
.
ImmutableVdcSampleSeries.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 .metric(com.iland.cohesity.iaas.backups.samples.enums.VdcSampleMetric) // requiredmetric
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.