@NotThreadSafe public static final class ImmutableBackupGroupParams.Builder extends Object
ImmutableBackupGroupParams.
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 ImmutableBackupGroupParams.Builder from(BackupGroupParams instance)
BackupGroupParams 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 ImmutableBackupGroupParams.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder description(String description)
description to description.description - The value for descriptionthis builder for chained invocationpublic final ImmutableBackupGroupParams.Builder description(Optional<String> description)
description to description.description - The value for descriptionthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder endTime(Instant endTime)
endTime to endTime.endTime - The value for endTimethis builder for chained invocationpublic final ImmutableBackupGroupParams.Builder endTime(Optional<? extends Instant> endTime)
endTime to endTime.endTime - The value for endTimethis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addExcludedDisks(BackupGroupDiskUnit element)
excludedDisks list.element - A excludedDisks elementthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addExcludedDisks(BackupGroupDiskUnit... elements)
excludedDisks list.elements - An array of excludedDisks elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder excludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
excludedDisks list.elements - An iterable of excludedDisks elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addAllExcludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
excludedDisks list.elements - An iterable of excludedDisks elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder fallbackToCrashConsistent(boolean fallbackToCrashConsistent)
fallbackToCrashConsistent attribute.fallbackToCrashConsistent - The value for fallbackToCrashConsistentthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder skipPhysicalRdmDisks(boolean skipPhysicalRdmDisks)
skipPhysicalRdmDisks attribute.skipPhysicalRdmDisks - The value for skipPhysicalRdmDisksthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder fullProtectionSlaTimeMins(long fullProtectionSlaTimeMins)
fullProtectionSlaTimeMins attribute.fullProtectionSlaTimeMins - The value for fullProtectionSlaTimeMinsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder incrementalProtectionSlaTimeMins(long incrementalProtectionSlaTimeMins)
incrementalProtectionSlaTimeMins attribute.incrementalProtectionSlaTimeMins - The value for incrementalProtectionSlaTimeMinsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder indexingPolicy(BackupGroupIndexingPolicy indexingPolicy)
indexingPolicy to indexingPolicy.indexingPolicy - The value for indexingPolicythis builder for chained invocationpublic final ImmutableBackupGroupParams.Builder indexingPolicy(Optional<? extends BackupGroupIndexingPolicy> indexingPolicy)
indexingPolicy to indexingPolicy.indexingPolicy - The value for indexingPolicythis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder policyId(PolicyUid policyId)
policyId attribute.policyId - The value for policyIdthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder priority(BackupGroupPriority priority)
priority attribute.priority - The value for prioritythis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder qosType(BackupGroupQosType qosType)
qosType attribute.qosType - The value for qosTypethis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addVcloudExcludedSources(VCloudProtectionSourceRef element)
vcloudExcludedSources set.element - A vcloudExcludedSources elementthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addVcloudExcludedSources(VCloudProtectionSourceRef... elements)
vcloudExcludedSources set.elements - An array of vcloudExcludedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder vcloudExcludedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
vcloudExcludedSources set.elements - An iterable of vcloudExcludedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addAllVcloudExcludedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
vcloudExcludedSources set.elements - An iterable of vcloudExcludedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addVcloudProtectedSources(VCloudProtectionSourceRef element)
vcloudProtectedSources set.element - A vcloudProtectedSources elementthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addVcloudProtectedSources(VCloudProtectionSourceRef... elements)
vcloudProtectedSources set.elements - An array of vcloudProtectedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder vcloudProtectedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
vcloudProtectedSources set.elements - An iterable of vcloudProtectedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder addAllVcloudProtectedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
vcloudProtectedSources set.elements - An iterable of vcloudProtectedSources elementsthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder startTime(TimeOfDay startTime)
startTime attribute.startTime - The value for startTimethis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder timezone(String timezone)
timezone attribute.timezone - The value for timezonethis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder abortInBlackoutPeriod(boolean abortInBlackoutPeriod)
abortInBlackoutPeriod attribute.abortInBlackoutPeriod - The value for abortInBlackoutPeriodthis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder continueOnQuiesceFailure(boolean continueOnQuiesceFailure)
continueOnQuiesceFailure attribute.continueOnQuiesceFailure - The value for continueOnQuiesceFailurethis builder for use in a chained invocationpublic final ImmutableBackupGroupParams.Builder quiesce(boolean quiesce)
quiesce attribute.quiesce - The value for quiescethis builder for use in a chained invocationpublic ImmutableBackupGroupParams build()
ImmutableBackupGroupParams.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.