Interface GetAccessPointPolicyStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAccessPointPolicyStatusResponse.Builder,,GetAccessPointPolicyStatusResponse> S3ControlResponse.Builder,SdkBuilder<GetAccessPointPolicyStatusResponse.Builder,,GetAccessPointPolicyStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAccessPointPolicyStatusResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPolicyStatus.builder().When the
Consumercompletes,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:
-