Interface GetAccessPointPolicyStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAccessPointPolicyStatusResponse.Builder,
,GetAccessPointPolicyStatusResponse> S3ControlResponse.Builder
,SdkBuilder<GetAccessPointPolicyStatusResponse.Builder,
,GetAccessPointPolicyStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAccessPointPolicyStatusResponse
public static interface GetAccessPointPolicyStatusResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetAccessPointPolicyStatusResponse.Builder,GetAccessPointPolicyStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyStatus
(Consumer<PolicyStatus.Builder> policyStatus) Indicates the current policy status of the specified access point.policyStatus
(PolicyStatus policyStatus) Indicates the current policy status of the specified access point.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policyStatus
Indicates the current policy status of the specified access point.
- Parameters:
policyStatus
- Indicates the current policy status of the specified access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyStatus
default GetAccessPointPolicyStatusResponse.Builder policyStatus(Consumer<PolicyStatus.Builder> policyStatus) Indicates the current policy status of the specified access point.
This is a convenience method that creates an instance of thePolicyStatus.Builder
avoiding the need to create one manually viaPolicyStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyStatus(PolicyStatus)
.- Parameters:
policyStatus
- a consumer that will call methods onPolicyStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-