@NotThreadSafe public static final class ImmutableVCloudPolicyScopeDescriptor.Builder extends Object
ImmutableVCloudPolicyScopeDescriptor.
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 ImmutableVCloudPolicyScopeDescriptor.Builder from(VCloudPolicyScopeDescriptor instance)
VCloudPolicyScopeDescriptor instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder policyUid(PolicyUid policyUid)
policyUid attribute.policyUid - The value for policyUidthis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder companyId(CompanyId companyId)
companyId attribute.companyId - The value for companyIdthis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder locationId(LocationId locationId)
locationId attribute.locationId - The value for locationIdthis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder orgUuid(OrgUuid orgUuid)
orgUuid attribute.orgUuid - The value for orgUuidthis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder policyName(String policyName)
policyName attribute.policyName - The value for policyNamethis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid to vdcUuid.vdcUuid - The value for vdcUuidthis builder for chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder vdcUuid(Optional<? extends VdcUuid> vdcUuid)
vdcUuid to vdcUuid.vdcUuid - The value for vdcUuidthis builder for use in a chained invocationpublic final ImmutableVCloudPolicyScopeDescriptor.Builder scopeType(BackupPolicyScopeType scopeType)
scopeType attribute.scopeType - The value for scopeTypethis builder for use in a chained invocationpublic ImmutableVCloudPolicyScopeDescriptor build()
ImmutableVCloudPolicyScopeDescriptor.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.