@NotThreadSafe public static final class ImmutableVCloudProtectionSourceRef.Builder extends Object
ImmutableVCloudProtectionSourceRef
.
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.
Modifier and Type | Method and Description |
---|---|
ImmutableVCloudProtectionSourceRef |
build()
Builds a new
ImmutableVCloudProtectionSourceRef . |
ImmutableVCloudProtectionSourceRef.Builder |
entityType(VCloudProtectionSourceType entityType)
Initializes the value for the
entityType attribute. |
ImmutableVCloudProtectionSourceRef.Builder |
entityUuid(VCloudUuid entityUuid)
Initializes the value for the
entityUuid attribute. |
ImmutableVCloudProtectionSourceRef.Builder |
from(VCloudProtectionSourceRef instance)
Fill a builder with attribute values from the provided
VCloudProtectionSourceRef instance. |
public final ImmutableVCloudProtectionSourceRef.Builder from(VCloudProtectionSourceRef instance)
VCloudProtectionSourceRef
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 ImmutableVCloudProtectionSourceRef.Builder entityUuid(VCloudUuid entityUuid)
entityUuid
attribute.entityUuid
- The value for entityUuidthis
builder for use in a chained invocationpublic final ImmutableVCloudProtectionSourceRef.Builder entityType(VCloudProtectionSourceType entityType)
entityType
attribute.entityType
- The value for entityTypethis
builder for use in a chained invocationpublic ImmutableVCloudProtectionSourceRef build()
ImmutableVCloudProtectionSourceRef
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.