Interface AvailabilityOptionsStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AvailabilityOptionsStatus.Builder,,AvailabilityOptionsStatus> SdkBuilder<AvailabilityOptionsStatus.Builder,,AvailabilityOptionsStatus> SdkPojo
- Enclosing class:
AvailabilityOptionsStatus
public static interface AvailabilityOptionsStatus.Builder
extends SdkPojo, CopyableBuilder<AvailabilityOptionsStatus.Builder,AvailabilityOptionsStatus>
-
Method Summary
Modifier and TypeMethodDescriptionThe availability options configured for the domain.status(Consumer<OptionStatus.Builder> status) Sets the value of the Status property for this object.status(OptionStatus status) Sets the value of the Status property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
options
The availability options configured for the domain.
- Parameters:
options- The availability options configured for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Sets the value of the Status property for this object. This is a convenience method that creates an instance of theOptionStatus.Builderavoiding the need to create one manually viaOptionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(OptionStatus).- Parameters:
status- a consumer that will call methods onOptionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-