@NotThreadSafe public static final class ImmutableBackupGroupSampleSeries.Builder extends Object
ImmutableBackupGroupSampleSeries.
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.
public final ImmutableBackupGroupSampleSeries.Builder from(BackupGroupSampleSeries instance)
com.iland.cohesity.iaas.backups.samples.model.BackupGroupSampleSeries instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.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 ImmutableBackupGroupSampleSeries.Builder locationId(LocationId locationId)
locationId attribute.locationId - The value for locationIdthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder companyId(CompanyId companyId)
companyId attribute.companyId - The value for companyIdthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder orgUuid(OrgUuid orgUuid)
orgUuid attribute.orgUuid - The value for orgUuidthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid attribute.vdcUuid - The value for vdcUuidthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder backupClusterUid(BackupClusterUid backupClusterUid)
backupClusterUid attribute.backupClusterUid - The value for backupClusterUidthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder addSamples(Sample element)
samples list.element - A samples elementthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder addSamples(Sample... elements)
samples list.elements - An array of samples elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder samples(Iterable<? extends Sample> elements)
samples list.elements - An iterable of samples elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder addAllSamples(Iterable<? extends Sample> elements)
samples list.elements - An iterable of samples elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder backupGroupUid(BackupGroupUid backupGroupUid)
backupGroupUid attribute.backupGroupUid - The value for backupGroupUidthis builder for use in a chained invocationpublic final ImmutableBackupGroupSampleSeries.Builder metric(BackupGroupSampleMetric metric)
metric attribute.metric - The value for metricthis builder for use in a chained invocationpublic ImmutableBackupGroupSampleSeries build()
ImmutableBackupGroupSampleSeries.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.