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