@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 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 BackupGroupUid backupGroupUid()
backupGroupUid in interface BackupGroupSampleSeriespublic BackupGroupSampleMetric metric()
metric in interface BackupGroupSampleSeriespublic 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) // 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
.backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // required backupGroupUid
.metric(com.iland.cohesity.iaas.backups.samples.enums.BackupGroupSampleMetric) // required metric
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.