Interface CreateMountSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMountSessionRequest.Builder,,CreateMountSessionRequest> S3FilesRequest.Builder,SdkBuilder<CreateMountSessionRequest.Builder,,CreateMountSessionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateMountSessionRequest
-
Method Summary
Modifier and TypeMethodDescriptionfileSystemId(String fileSystemId) The ID of the S3 File System for which to create the mount session.networkOrigin(String networkOrigin) Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (AWS_NETWORK).networkOrigin(NetworkOrigin networkOrigin) Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (AWS_NETWORK).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preferredAvailabilityZoneId(String preferredAvailabilityZoneId) The ID of the Availability Zone (for example,use1-az1) in which you prefer the returned endpoints to be located.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3files.model.S3FilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fileSystemId
The ID of the S3 File System for which to create the mount session.
- Parameters:
fileSystemId- The ID of the S3 File System for which to create the mount session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredAvailabilityZoneId
The ID of the Availability Zone (for example,
use1-az1) in which you prefer the returned endpoints to be located. The Availability Zone must be in the same Amazon Web Services Region as the file system. This preference is best effort: if an endpoint in the preferred Availability Zone isn't available, endpoints in another Availability Zone are returned instead of failing the request. If you don't specify a value, endpoints are returned without an Availability Zone preference.- Parameters:
preferredAvailabilityZoneId- The ID of the Availability Zone (for example,use1-az1) in which you prefer the returned endpoints to be located. The Availability Zone must be in the same Amazon Web Services Region as the file system. This preference is best effort: if an endpoint in the preferred Availability Zone isn't available, endpoints in another Availability Zone are returned instead of failing the request. If you don't specify a value, endpoints are returned without an Availability Zone preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkOrigin
Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (
AWS_NETWORK). External network (EXTERNAL_NETWORK) connections are not supported.- Parameters:
networkOrigin- Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (AWS_NETWORK). External network (EXTERNAL_NETWORK) connections are not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkOrigin
Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (
AWS_NETWORK). External network (EXTERNAL_NETWORK) connections are not supported.- Parameters:
networkOrigin- Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (AWS_NETWORK). External network (EXTERNAL_NETWORK) connections are not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateMountSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMountSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-