Interface GetMultiRegionAccessPointPolicyStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMultiRegionAccessPointPolicyStatusResponse.Builder,
,GetMultiRegionAccessPointPolicyStatusResponse> S3ControlResponse.Builder
,SdkBuilder<GetMultiRegionAccessPointPolicyStatusResponse.Builder,
,GetMultiRegionAccessPointPolicyStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMultiRegionAccessPointPolicyStatusResponse
public static interface GetMultiRegionAccessPointPolicyStatusResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetMultiRegionAccessPointPolicyStatusResponse.Builder,GetMultiRegionAccessPointPolicyStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionestablished
(Consumer<PolicyStatus.Builder> established) Sets the value of the Established property for this object.established
(PolicyStatus established) Sets the value of the Established property for this object.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
-
established
Sets the value of the Established property for this object.- Parameters:
established
- The new value for the Established property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
established
default GetMultiRegionAccessPointPolicyStatusResponse.Builder established(Consumer<PolicyStatus.Builder> established) Sets the value of the Established property for this object. 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 toestablished(PolicyStatus)
.- Parameters:
established
- 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:
-