Interface AccessPoliciesStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessPoliciesStatus.Builder,
,AccessPoliciesStatus> SdkBuilder<AccessPoliciesStatus.Builder,
,AccessPoliciesStatus> SdkPojo
- Enclosing class:
AccessPoliciesStatus
public static interface AccessPoliciesStatus.Builder
extends SdkPojo, CopyableBuilder<AccessPoliciesStatus.Builder,AccessPoliciesStatus>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Options property for this object.default AccessPoliciesStatus.Builder
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
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 Details
-
options
Sets the value of the Options property for this object.- Parameters:
options
- The new value for the Options 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.- 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.Builder
avoiding the need to create one manually viaOptionStatus.builder()
.When the
Consumer
completes,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:
-