Interface GetPublicAccessBlockResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPublicAccessBlockResponse.Builder,GetPublicAccessBlockResponse>
,S3Response.Builder
,SdkBuilder<GetPublicAccessBlockResponse.Builder,GetPublicAccessBlockResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetPublicAccessBlockResponse
public static interface GetPublicAccessBlockResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetPublicAccessBlockResponse.Builder,GetPublicAccessBlockResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetPublicAccessBlockResponse.Builder
publicAccessBlockConfiguration(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlockConfiguration)
ThePublicAccessBlock
configuration currently in effect for this Amazon S3 bucket.GetPublicAccessBlockResponse.Builder
publicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
ThePublicAccessBlock
configuration currently in effect for this Amazon S3 bucket.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.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 Detail
-
publicAccessBlockConfiguration
GetPublicAccessBlockResponse.Builder publicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock
configuration currently in effect for this Amazon S3 bucket.- Parameters:
publicAccessBlockConfiguration
- ThePublicAccessBlock
configuration currently in effect for this Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlockConfiguration
default GetPublicAccessBlockResponse.Builder publicAccessBlockConfiguration(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlockConfiguration)
The
This is a convenience method that creates an instance of thePublicAccessBlock
configuration currently in effect for this Amazon S3 bucket.PublicAccessBlockConfiguration.Builder
avoiding the need to create one manually viaPublicAccessBlockConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicAccessBlockConfiguration(PublicAccessBlockConfiguration)
.- Parameters:
publicAccessBlockConfiguration
- a consumer that will call methods onPublicAccessBlockConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
publicAccessBlockConfiguration(PublicAccessBlockConfiguration)
-
-