Class CfnLocationFSxONTAPPropsMixin.NFSProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnLocationFSxONTAPPropsMixin.NFSProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin.NFSProperty>
- Enclosing interface:
CfnLocationFSxONTAPPropsMixin.NFSProperty
@Stability(Stable)
public static final class CfnLocationFSxONTAPPropsMixin.NFSProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin.NFSProperty>
A builder for
CfnLocationFSxONTAPPropsMixin.NFSProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mountOptions(IResolvable mountOptions) Sets the value ofCfnLocationFSxONTAPPropsMixin.NFSProperty.getMountOptions()Sets the value ofCfnLocationFSxONTAPPropsMixin.NFSProperty.getMountOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mountOptions
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.NFSProperty.Builder mountOptions(IResolvable mountOptions) Sets the value ofCfnLocationFSxONTAPPropsMixin.NFSProperty.getMountOptions()- Parameters:
mountOptions- Specifies how DataSync can access a location using the NFS protocol.- Returns:
this
-
mountOptions
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.NFSProperty.Builder mountOptions(CfnLocationFSxONTAPPropsMixin.NfsMountOptionsProperty mountOptions) Sets the value ofCfnLocationFSxONTAPPropsMixin.NFSProperty.getMountOptions()- Parameters:
mountOptions- Specifies how DataSync can access a location using the NFS protocol.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin.NFSProperty>- Returns:
- a new instance of
CfnLocationFSxONTAPPropsMixin.NFSProperty - Throws:
NullPointerException- if any required attribute was not provided
-