@NotThreadSafe public static final class ImmutableAlternateVappParams.Builder extends Object
ImmutableAlternateVappParams
.
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 |
---|---|
ImmutableAlternateVappParams |
build()
Builds a new
ImmutableAlternateVappParams . |
ImmutableAlternateVappParams.Builder |
from(AlternateVappParams instance)
Fill a builder with attribute values from the provided
AlternateVappParams instance. |
ImmutableAlternateVappParams.Builder |
storageProfile(StorageProfileUuid storageProfile)
Initializes the value for the
storageProfile attribute. |
ImmutableAlternateVappParams.Builder |
vappUuid(VappUuid vappUuid)
Initializes the value for the
vappUuid attribute. |
public final ImmutableAlternateVappParams.Builder from(AlternateVappParams instance)
AlternateVappParams
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 ImmutableAlternateVappParams.Builder storageProfile(StorageProfileUuid storageProfile)
storageProfile
attribute.storageProfile
- The value for storageProfilethis
builder for use in a chained invocationpublic final ImmutableAlternateVappParams.Builder vappUuid(VappUuid vappUuid)
vappUuid
attribute.vappUuid
- The value for vappUuidthis
builder for use in a chained invocationpublic ImmutableAlternateVappParams build()
ImmutableAlternateVappParams
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.