@NotThreadSafe public static final class ImmutableVdcSampleSeries.Builder extends Object
ImmutableVdcSampleSeries.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableVdcSampleSeries.Builder |
addAllSamples(Iterable<? extends Sample> elements)
Adds elements to
samples list. |
ImmutableVdcSampleSeries.Builder |
addSamples(Sample... elements)
Adds elements to
samples list. |
ImmutableVdcSampleSeries.Builder |
addSamples(Sample element)
Adds one element to
samples list. |
ImmutableVdcSampleSeries.Builder |
backupClusterUid(BackupClusterUid backupClusterUid)
Initializes the value for the
backupClusterUid attribute. |
ImmutableVdcSampleSeries |
build()
Builds a new
ImmutableVdcSampleSeries. |
ImmutableVdcSampleSeries.Builder |
companyId(CompanyId companyId)
Initializes the value for the
companyId attribute. |
ImmutableVdcSampleSeries.Builder |
from(SampleSeries instance)
Fill a builder with attribute values from the provided
com.iland.cohesity.iaas.backups.samples.model.SampleSeries instance. |
ImmutableVdcSampleSeries.Builder |
from(VdcSampleSeries instance)
Fill a builder with attribute values from the provided
com.iland.cohesity.iaas.backups.samples.model.VdcSampleSeries instance. |
ImmutableVdcSampleSeries.Builder |
locationId(LocationId locationId)
Initializes the value for the
locationId attribute. |
ImmutableVdcSampleSeries.Builder |
metric(VdcSampleMetric metric)
Initializes the value for the
metric attribute. |
ImmutableVdcSampleSeries.Builder |
orgUuid(OrgUuid orgUuid)
Initializes the value for the
orgUuid attribute. |
ImmutableVdcSampleSeries.Builder |
samples(Iterable<? extends Sample> elements)
Sets or replaces all elements for
samples list. |
ImmutableVdcSampleSeries.Builder |
vdcUuid(VdcUuid vdcUuid)
Initializes the value for the
vdcUuid attribute. |
public final ImmutableVdcSampleSeries.Builder from(SampleSeries instance)
com.iland.cohesity.iaas.backups.samples.model.SampleSeries instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder from(VdcSampleSeries instance)
com.iland.cohesity.iaas.backups.samples.model.VdcSampleSeries instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder locationId(LocationId locationId)
locationId attribute.locationId - The value for locationIdthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder companyId(CompanyId companyId)
companyId attribute.companyId - The value for companyIdthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder orgUuid(OrgUuid orgUuid)
orgUuid attribute.orgUuid - The value for orgUuidthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid attribute.vdcUuid - The value for vdcUuidthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder backupClusterUid(BackupClusterUid backupClusterUid)
backupClusterUid attribute.backupClusterUid - The value for backupClusterUidthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder addSamples(Sample element)
samples list.element - A samples elementthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder addSamples(Sample... elements)
samples list.elements - An array of samples elementsthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder samples(Iterable<? extends Sample> elements)
samples list.elements - An iterable of samples elementsthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder addAllSamples(Iterable<? extends Sample> elements)
samples list.elements - An iterable of samples elementsthis builder for use in a chained invocationpublic final ImmutableVdcSampleSeries.Builder metric(VdcSampleMetric metric)
metric attribute.metric - The value for metricthis builder for use in a chained invocationpublic ImmutableVdcSampleSeries build()
ImmutableVdcSampleSeries.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.