Class CfnMountTargetProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3files.CfnMountTargetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMountTargetProps>
- Enclosing interface:
CfnMountTargetProps
@Stability(Stable)
public static final class CfnMountTargetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMountTargetProps>
A builder for
CfnMountTargetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileSystemId(String fileSystemId) Sets the value ofCfnMountTargetProps.getFileSystemId()ipAddressType(String ipAddressType) Sets the value ofCfnMountTargetProps.getIpAddressType()ipv4Address(String ipv4Address) Sets the value ofCfnMountTargetProps.getIpv4Address()ipv6Address(String ipv6Address) Sets the value ofCfnMountTargetProps.getIpv6Address()securityGroups(List<String> securityGroups) Sets the value ofCfnMountTargetProps.getSecurityGroups()Sets the value ofCfnMountTargetProps.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
Sets the value ofCfnMountTargetProps.getFileSystemId()- Parameters:
fileSystemId- the value to be set. This parameter is required.- Returns:
this
-
subnetId
Sets the value ofCfnMountTargetProps.getSubnetId()- Parameters:
subnetId- the value to be set. This parameter is required.- Returns:
this
-
ipAddressType
Sets the value ofCfnMountTargetProps.getIpAddressType()- Parameters:
ipAddressType- the value to be set.- Returns:
this
-
ipv4Address
Sets the value ofCfnMountTargetProps.getIpv4Address()- Parameters:
ipv4Address- the value to be set.- Returns:
this
-
ipv6Address
Sets the value ofCfnMountTargetProps.getIpv6Address()- Parameters:
ipv6Address- the value to be set.- Returns:
this
-
securityGroups
Sets the value ofCfnMountTargetProps.getSecurityGroups()- Parameters:
securityGroups- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMountTargetProps>- Returns:
- a new instance of
CfnMountTargetProps - Throws:
NullPointerException- if any required attribute was not provided
-