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