Interface S3ExpressDirectoryAccessPointConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3ExpressDirectoryAccessPointConfiguration.Builder,
,S3ExpressDirectoryAccessPointConfiguration> SdkBuilder<S3ExpressDirectoryAccessPointConfiguration.Builder,
,S3ExpressDirectoryAccessPointConfiguration> SdkPojo
- Enclosing class:
S3ExpressDirectoryAccessPointConfiguration
@Mutable
@NotThreadSafe
public static interface S3ExpressDirectoryAccessPointConfiguration.Builder
extends SdkPojo, CopyableBuilder<S3ExpressDirectoryAccessPointConfiguration.Builder,S3ExpressDirectoryAccessPointConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointPolicy
(String accessPointPolicy) The proposed access point policy for an Amazon S3 directory bucket access point.networkOrigin
(Consumer<NetworkOriginConfiguration.Builder> networkOrigin) Sets the value of the NetworkOrigin property for this object.networkOrigin
(NetworkOriginConfiguration networkOrigin) Sets the value of the NetworkOrigin property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
accessPointPolicy
The proposed access point policy for an Amazon S3 directory bucket access point.
- Parameters:
accessPointPolicy
- The proposed access point policy for an Amazon S3 directory bucket access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkOrigin
S3ExpressDirectoryAccessPointConfiguration.Builder networkOrigin(NetworkOriginConfiguration networkOrigin) Sets the value of the NetworkOrigin property for this object.- Parameters:
networkOrigin
- The new value for the NetworkOrigin property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkOrigin
default S3ExpressDirectoryAccessPointConfiguration.Builder networkOrigin(Consumer<NetworkOriginConfiguration.Builder> networkOrigin) Sets the value of the NetworkOrigin property for this object. This is a convenience method that creates an instance of theNetworkOriginConfiguration.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:
-