@NotThreadSafe public static final class ImmutableVCloudProtectionSource.Builder extends Object
ImmutableVCloudProtectionSource
.
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 ImmutableVCloudProtectionSource.Builder from(VCloudProtectionSource instance)
VCloudProtectionSource
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 ImmutableVCloudProtectionSource.Builder entityUuid(VCloudUuid entityUuid)
entityUuid
to entityUuid.entityUuid
- The value for entityUuidthis
builder for chained invocationpublic final ImmutableVCloudProtectionSource.Builder entityUuid(Optional<? extends VCloudUuid> entityUuid)
entityUuid
to entityUuid.entityUuid
- The value for entityUuidthis
builder for use in a chained invocationpublic final ImmutableVCloudProtectionSource.Builder entityType(VCloudProtectionSourceType entityType)
entityType
attribute.entityType
- The value for entityTypethis
builder for use in a chained invocationpublic final ImmutableVCloudProtectionSource.Builder entityName(String entityName)
entityName
attribute.entityName
- The value for entityNamethis
builder for use in a chained invocationpublic final ImmutableVCloudProtectionSource.Builder cohesityUid(SourceUid cohesityUid)
cohesityUid
attribute.cohesityUid
- The value for cohesityUidthis
builder for use in a chained invocationpublic ImmutableVCloudProtectionSource build()
ImmutableVCloudProtectionSource
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.