@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 SampleSeriespublic CompanyId companyId()
companyId in interface SampleSeriespublic OrgUuid orgUuid()
orgUuid in interface SampleSeriespublic VdcUuid vdcUuid()
vdcUuid in interface SampleSeriespublic BackupClusterUid backupClusterUid()
backupClusterUid in interface SampleSeriespublic com.google.common.collect.ImmutableList<Sample> samples()
samples in interface SampleSeriespublic VdcSampleMetric metric()
metric in interface VdcSampleSeriespublic 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) // required locationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // required companyId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // required orgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // required vdcUuid
.backupClusterUid(com.iland.cohesity.iaas.backups.common.model.BackupClusterUid) // required backupClusterUid
.addSamples|addAllSamples(com.iland.cohesity.iaas.backups.samples.model.Sample) // samples elements
.metric(com.iland.cohesity.iaas.backups.samples.enums.VdcSampleMetric) // required metric
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.