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 proposedInternetandVpcConfigurationto apply to this Amazon S3 access point.networkOrigin(NetworkOriginConfiguration networkOrigin) The proposedInternetandVpcConfigurationto apply to this Amazon S3 access point.publicAccessBlock(Consumer<S3PublicAccessBlockConfiguration.Builder> publicAccessBlock) The proposedS3PublicAccessBlockconfiguration to apply to this Amazon S3 access point or multi-region access point.publicAccessBlock(S3PublicAccessBlockConfiguration publicAccessBlock) The proposedS3PublicAccessBlockconfiguration to apply to this Amazon S3 access point or multi-region access point.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
S3PublicAccessBlockconfiguration to apply to this Amazon S3 access point or multi-region access point.- Parameters:
publicAccessBlock- The proposedS3PublicAccessBlockconfiguration 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 theS3PublicAccessBlockconfiguration to apply to this Amazon S3 access point or multi-region access point.S3PublicAccessBlockConfiguration.Builderavoiding the need to create one manually viaS3PublicAccessBlockConfiguration.builder().When the
Consumercompletes,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
InternetandVpcConfigurationto apply to this Amazon S3 access point.VpcConfigurationdoes not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview usesInternetfor 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 proposedInternetandVpcConfigurationto apply to this Amazon S3 access point.VpcConfigurationdoes not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview usesInternetfor 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 theInternetandVpcConfigurationto apply to this Amazon S3 access point.VpcConfigurationdoes not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview usesInternetfor 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.Builderavoiding the need to create one manually viaNetworkOriginConfiguration.builder().When the
Consumercompletes,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:
-