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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AvailabilityZone.Buildername(String name)The name of the availability zone.AvailabilityZone.BuildersupportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)AvailabilityZone.BuildersupportedPlatforms(Consumer<SupportedPlatform.Builder>... supportedPlatforms)This is a convenience method that creates an instance of theSupportedPlatform.Builderavoiding the need to create one manually viaSupportedPlatform.builder().AvailabilityZone.BuildersupportedPlatforms(SupportedPlatform... supportedPlatforms)-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
AvailabilityZone.Builder name(String 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
AvailabilityZone.Builder supportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
- Parameters:
supportedPlatforms-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatforms
AvailabilityZone.Builder supportedPlatforms(SupportedPlatform... 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 to#supportedPlatforms(List.) - 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:
#supportedPlatforms(java.util.Collection)
-
-