Interface S3AccessPointConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3AccessPointConfiguration.Builder,
,S3AccessPointConfiguration> SdkBuilder<S3AccessPointConfiguration.Builder,
,S3AccessPointConfiguration> SdkPojo
- Enclosing class:
S3AccessPointConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointPolicy
(String accessPointPolicy) The access point or multi-region access point policy.networkOrigin
(Consumer<NetworkOriginConfiguration.Builder> networkOrigin) The proposedInternet
andVpcConfiguration
to apply to this Amazon S3 access point.networkOrigin
(NetworkOriginConfiguration networkOrigin) The proposedInternet
andVpcConfiguration
to apply to this Amazon S3 access point.publicAccessBlock
(Consumer<S3PublicAccessBlockConfiguration.Builder> publicAccessBlock) The proposedS3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.publicAccessBlock
(S3PublicAccessBlockConfiguration publicAccessBlock) The proposedS3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.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
-
accessPointPolicy
The access point or multi-region access point policy.
- Parameters:
accessPointPolicy
- The access point or multi-region access point policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlock
S3AccessPointConfiguration.Builder publicAccessBlock(S3PublicAccessBlockConfiguration publicAccessBlock) The proposed
S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.- Parameters:
publicAccessBlock
- The proposedS3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlock
default S3AccessPointConfiguration.Builder publicAccessBlock(Consumer<S3PublicAccessBlockConfiguration.Builder> publicAccessBlock) The proposed
This is a convenience method that creates an instance of theS3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.S3PublicAccessBlockConfiguration.Builder
avoiding the need to create one manually viaS3PublicAccessBlockConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicAccessBlock(S3PublicAccessBlockConfiguration)
.- Parameters:
publicAccessBlock
- a consumer that will call methods onS3PublicAccessBlockConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkOrigin
The proposed
Internet
andVpcConfiguration
to apply to this Amazon S3 access point.VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview usesInternet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.- Parameters:
networkOrigin
- The proposedInternet
andVpcConfiguration
to apply to this Amazon S3 access point.VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview usesInternet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkOrigin
default S3AccessPointConfiguration.Builder networkOrigin(Consumer<NetworkOriginConfiguration.Builder> networkOrigin) The proposed
This is a convenience method that creates an instance of theInternet
andVpcConfiguration
to apply to this Amazon S3 access point.VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview usesInternet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.NetworkOriginConfiguration.Builder
avoiding the need to create one manually viaNetworkOriginConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkOrigin(NetworkOriginConfiguration)
.- Parameters:
networkOrigin
- a consumer that will call methods onNetworkOriginConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-