Interface CreateMountTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMountTargetRequest.Builder,
,CreateMountTargetRequest> EfsRequest.Builder
,SdkBuilder<CreateMountTargetRequest.Builder,
,CreateMountTargetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMountTargetRequest
public static interface CreateMountTargetRequest.Builder
extends EfsRequest.Builder, SdkPojo, CopyableBuilder<CreateMountTargetRequest.Builder,CreateMountTargetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfileSystemId
(String fileSystemId) The ID of the file system for which to create the mount target.Valid IPv4 address within the address range of the specified subnet.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.securityGroups
(String... securityGroups) Up to five VPC security group IDs, of the formsg-xxxxxxxx
.securityGroups
(Collection<String> securityGroups) Up to five VPC security group IDs, of the formsg-xxxxxxxx
.The ID of the subnet to add the mount target in.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.efs.model.EfsRequest.Builder
build
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
-
fileSystemId
The ID of the file system for which to create the mount target.
- Parameters:
fileSystemId
- The ID of the file system for which to create the mount target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
- Parameters:
subnetId
- The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
Valid IPv4 address within the address range of the specified subnet.
- Parameters:
ipAddress
- Valid IPv4 address within the address range of the specified subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Up to five VPC security group IDs, of the form
sg-xxxxxxxx
. These must be for the same VPC as subnet specified.- Parameters:
securityGroups
- Up to five VPC security group IDs, of the formsg-xxxxxxxx
. These must be for the same VPC as subnet specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Up to five VPC security group IDs, of the form
sg-xxxxxxxx
. These must be for the same VPC as subnet specified.- Parameters:
securityGroups
- Up to five VPC security group IDs, of the formsg-xxxxxxxx
. These must be for the same VPC as subnet specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateMountTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMountTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-