Interface CreateMountTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMountTargetRequest.Builder,
,CreateMountTargetRequest> EfsRequest.Builder
,SdkBuilder<CreateMountTargetRequest.Builder,
,CreateMountTargetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMountTargetRequest
-
Method Summary
Modifier and TypeMethodDescriptionfileSystemId
(String fileSystemId) The ID of the file system for which to create the mount target.If the IP address type for the mount target is IPv4, then specify the IPv4 address within the address range of the specified subnet.ipAddressType
(String ipAddressType) Specify the type of IP address of the mount target you are creating.ipAddressType
(IpAddressType ipAddressType) Specify the type of IP address of the mount target you are creating.ipv6Address
(String ipv6Address) If the IP address type for the mount target is IPv6, then specify the IPv6 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) VPC security group IDs, of the formsg-xxxxxxxx
.securityGroups
(Collection<String> securityGroups) 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, sdkFieldNameToField, 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
If the IP address type for the mount target is IPv4, then specify the IPv4 address within the address range of the specified subnet.
- Parameters:
ipAddress
- If the IP address type for the mount target is IPv4, then specify the 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.
-
ipv6Address
If the IP address type for the mount target is IPv6, then specify the IPv6 address within the address range of the specified subnet.
- Parameters:
ipv6Address
- If the IP address type for the mount target is IPv6, then specify the IPv6 address within the address range of the specified subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.
-
IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.
-
DUAL_STACK – Create mount target with dual-stack subnet.
-
IPV6_ONLY – Create mount target with IPv6 only subnet.
Creating IPv6 mount target only ENI in dual-stack subnet is not supported.
- Parameters:
ipAddressType
- Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.-
IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.
-
DUAL_STACK – Create mount target with dual-stack subnet.
-
IPV6_ONLY – Create mount target with IPv6 only subnet.
Creating IPv6 mount target only ENI in dual-stack subnet is not supported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
ipAddressType
Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.
-
IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.
-
DUAL_STACK – Create mount target with dual-stack subnet.
-
IPV6_ONLY – Create mount target with IPv6 only subnet.
Creating IPv6 mount target only ENI in dual-stack subnet is not supported.
- Parameters:
ipAddressType
- Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.-
IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.
-
DUAL_STACK – Create mount target with dual-stack subnet.
-
IPV6_ONLY – Create mount target with IPv6 only subnet.
Creating IPv6 mount target only ENI in dual-stack subnet is not supported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
securityGroups
VPC security group IDs, of the form
sg-xxxxxxxx
. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table).- Parameters:
securityGroups
- VPC security group IDs, of the formsg-xxxxxxxx
. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
VPC security group IDs, of the form
sg-xxxxxxxx
. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table).- Parameters:
securityGroups
- VPC security group IDs, of the formsg-xxxxxxxx
. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table).- 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.
-