Class CfnMountTarget.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnMountTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMountTarget>
- Enclosing class:
CfnMountTarget
@Stability(Stable)
public static final class CfnMountTarget.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMountTarget>
A fluent builder for
CfnMountTarget.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnMountTarget.BuilderfileSystemId(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.securityGroups(List<String> securityGroups) Up to five VPC security group IDs, of the formsg-xxxxxxxx.The ID of the subnet to add the mount target in.
-
Method Details
-
create
@Stability(Stable) public static CfnMountTarget.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMountTarget.Builder.
-
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. This parameter is required.- Returns:
this- See Also:
-
securityGroups
Up to five VPC security group IDs, of the formsg-xxxxxxxx.These must be for the same VPC as subnet specified.
- Parameters:
securityGroups- Up to five VPC security group IDs, of the formsg-xxxxxxxx. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMountTarget>- Returns:
- a newly built instance of
CfnMountTarget.
-