Interface AvailabilityZone.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AvailabilityZone.Builder,,AvailabilityZone> SdkBuilder<AvailabilityZone.Builder,,AvailabilityZone> SdkPojo
- Enclosing class:
AvailabilityZone
public static interface AvailabilityZone.Builder
extends SdkPojo, CopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the availability zone.supportedPlatforms(Collection<SupportedPlatform> supportedPlatforms) supportedPlatforms(Consumer<SupportedPlatform.Builder>... supportedPlatforms) This is a convenience method that creates an instance of theSupportedPlatform.Builderavoiding the need to create one manually viaSupportedPlatform.builder().supportedPlatforms(SupportedPlatform... supportedPlatforms) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the availability zone.
- Parameters:
name- The name of the availability zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatforms
- Parameters:
supportedPlatforms-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatforms
- Parameters:
supportedPlatforms-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatforms
AvailabilityZone.Builder supportedPlatforms(Consumer<SupportedPlatform.Builder>... supportedPlatforms) This is a convenience method that creates an instance of theSupportedPlatform.Builderavoiding the need to create one manually viaSupportedPlatform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportedPlatforms(List<SupportedPlatform>).- Parameters:
supportedPlatforms- a consumer that will call methods onSupportedPlatform.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-