@NotThreadSafe public static final class ImmutableBackupGroup.Builder extends Object
ImmutableBackupGroup.
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 ImmutableBackupGroup.Builder from(BackupGroup instance)
BackupGroup instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder id(long id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder uid(BackupGroupUid uid)
uid attribute.uid - The value for uidthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder creationTime(Instant creationTime)
creationTime attribute.creationTime - The value for creationTimethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder modifiedTime(Instant modifiedTime)
modifiedTime attribute.modifiedTime - The value for modifiedTimethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder description(String description)
description to description.description - The value for descriptionthis builder for chained invocationpublic final ImmutableBackupGroup.Builder description(Optional<String> description)
description to description.description - The value for descriptionthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder endTime(Instant endTime)
endTime to endTime.endTime - The value for endTimethis builder for chained invocationpublic final ImmutableBackupGroup.Builder endTime(Optional<? extends Instant> endTime)
endTime to endTime.endTime - The value for endTimethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder active(boolean active)
active attribute.active - The value for activethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder deleted(boolean deleted)
deleted attribute.deleted - The value for deletedthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder paused(boolean paused)
paused attribute.paused - The value for pausedthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addExcludedDisks(BackupGroupDiskUnit element)
excludedDisks list.element - A excludedDisks elementthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addExcludedDisks(BackupGroupDiskUnit... elements)
excludedDisks list.elements - An array of excludedDisks elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder excludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
excludedDisks list.elements - An iterable of excludedDisks elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addAllExcludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
excludedDisks list.elements - An iterable of excludedDisks elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder fallbackToCrashConsistent(boolean fallbackToCrashConsistent)
fallbackToCrashConsistent attribute.fallbackToCrashConsistent - The value for fallbackToCrashConsistentthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder skipPhysicalRdmDisks(boolean skipPhysicalRdmDisks)
skipPhysicalRdmDisks attribute.skipPhysicalRdmDisks - The value for skipPhysicalRdmDisksthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder fullProtectionSlaTimeMins(long fullProtectionSlaTimeMins)
fullProtectionSlaTimeMins attribute.fullProtectionSlaTimeMins - The value for fullProtectionSlaTimeMinsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder incrementalProtectionSlaTimeMins(long incrementalProtectionSlaTimeMins)
incrementalProtectionSlaTimeMins attribute.incrementalProtectionSlaTimeMins - The value for incrementalProtectionSlaTimeMinsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder indexingPolicy(BackupGroupIndexingPolicy indexingPolicy)
indexingPolicy attribute.indexingPolicy - The value for indexingPolicythis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder policyUid(PolicyUid policyUid)
policyUid attribute.policyUid - The value for policyUidthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder policyAppliedTime(Instant policyAppliedTime)
policyAppliedTime to policyAppliedTime.policyAppliedTime - The value for policyAppliedTimethis builder for chained invocationpublic final ImmutableBackupGroup.Builder policyAppliedTime(Optional<? extends Instant> policyAppliedTime)
policyAppliedTime to policyAppliedTime.policyAppliedTime - The value for policyAppliedTimethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder priority(BackupGroupPriority priority)
priority attribute.priority - The value for prioritythis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder qosType(BackupGroupQosType qosType)
qosType attribute.qosType - The value for qosTypethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder startTime(TimeOfDay startTime)
startTime attribute.startTime - The value for startTimethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder timezone(String timezone)
timezone attribute.timezone - The value for timezonethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder cohesityTenantUid(TenantUid cohesityTenantUid)
cohesityTenantUid attribute.cohesityTenantUid - The value for cohesityTenantUidthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder companyId(CompanyId companyId)
companyId attribute.companyId - The value for companyIdthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder locationId(LocationId locationId)
locationId attribute.locationId - The value for locationIdthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid attribute.vdcUuid - The value for vdcUuidthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder orgUuid(OrgUuid orgUuid)
orgUuid attribute.orgUuid - The value for orgUuidthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addExcludedSources(VCloudProtectionSource element)
excludedSources set.element - A excludedSources elementthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addExcludedSources(VCloudProtectionSource... elements)
excludedSources set.elements - An array of excludedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder excludedSources(Iterable<? extends VCloudProtectionSource> elements)
excludedSources set.elements - An iterable of excludedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addAllExcludedSources(Iterable<? extends VCloudProtectionSource> elements)
excludedSources set.elements - An iterable of excludedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addProtectedSources(VCloudProtectionSource element)
protectedSources set.element - A protectedSources elementthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addProtectedSources(VCloudProtectionSource... elements)
protectedSources set.elements - An array of protectedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder protectedSources(Iterable<? extends VCloudProtectionSource> elements)
protectedSources set.elements - An iterable of protectedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder addAllProtectedSources(Iterable<? extends VCloudProtectionSource> elements)
protectedSources set.elements - An iterable of protectedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder abortInBlackoutPeriod(boolean abortInBlackoutPeriod)
abortInBlackoutPeriod attribute.abortInBlackoutPeriod - The value for abortInBlackoutPeriodthis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder continueOnQuiesceFailure(boolean continueOnQuiesceFailure)
continueOnQuiesceFailure attribute.continueOnQuiesceFailure - The value for continueOnQuiesceFailurethis builder for use in a chained invocationpublic final ImmutableBackupGroup.Builder quiesce(boolean quiesce)
quiesce attribute.quiesce - The value for quiescethis builder for use in a chained invocationpublic ImmutableBackupGroup build()
ImmutableBackupGroup.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.