public static interface AvailabilityZone.Builder extends SdkPojo, CopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
Modifier and Type | Method and Description |
---|---|
AvailabilityZone.Builder |
name(String name)
The name of the availability zone.
|
AvailabilityZone.Builder |
supportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
Sets the value of the SupportedPlatforms property for this object.
|
AvailabilityZone.Builder |
supportedPlatforms(Consumer<SupportedPlatform.Builder>... supportedPlatforms)
Sets the value of the SupportedPlatforms property for this object.
|
AvailabilityZone.Builder |
supportedPlatforms(SupportedPlatform... supportedPlatforms)
Sets the value of the SupportedPlatforms property for this object.
|
copy
applyMutation, build
AvailabilityZone.Builder name(String name)
The name of the availability zone.
name
- The name of the availability zone.AvailabilityZone.Builder supportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
supportedPlatforms
- The new value for the SupportedPlatforms property for this object.AvailabilityZone.Builder supportedPlatforms(SupportedPlatform... supportedPlatforms)
supportedPlatforms
- The new value for the SupportedPlatforms property for this object.AvailabilityZone.Builder supportedPlatforms(Consumer<SupportedPlatform.Builder>... supportedPlatforms)
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #supportedPlatforms(List)
.supportedPlatforms
- a consumer that will call methods on List.Builder
#supportedPlatforms(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.