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 TypeMethodDescriptionThe access policy configured for the domain.default AccessPoliciesStatus.Builder
status
(Consumer<OptionStatus.Builder> status) The status of the access policy for the domain.status
(OptionStatus status) The status of the access policy for the domain.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
The access policy configured for the domain. Access policies can be resource-based, IP-based, or IAM-based. For more information, see Configuring access policies.
- Parameters:
options
- The access policy configured for the domain. Access policies can be resource-based, IP-based, or IAM-based. For more information, see Configuring access policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the access policy for the domain.
- Parameters:
status
- The status of the access policy for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the access policy for the domain.
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:
-