Class CfnLocationFSxOpenZFS.ProtocolProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationFSxOpenZFS.ProtocolProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxOpenZFS.ProtocolProperty>
- Enclosing interface:
CfnLocationFSxOpenZFS.ProtocolProperty
@Stability(Stable)
public static final class CfnLocationFSxOpenZFS.ProtocolProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxOpenZFS.ProtocolProperty>
A builder for
CfnLocationFSxOpenZFS.ProtocolProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.nfs
(IResolvable nfs) Sets the value ofCfnLocationFSxOpenZFS.ProtocolProperty.getNfs()
Sets the value ofCfnLocationFSxOpenZFS.ProtocolProperty.getNfs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nfs
Sets the value ofCfnLocationFSxOpenZFS.ProtocolProperty.getNfs()
- Parameters:
nfs
- Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.- Returns:
this
-
nfs
@Stability(Stable) public CfnLocationFSxOpenZFS.ProtocolProperty.Builder nfs(CfnLocationFSxOpenZFS.NFSProperty nfs) Sets the value ofCfnLocationFSxOpenZFS.ProtocolProperty.getNfs()
- Parameters:
nfs
- Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocationFSxOpenZFS.ProtocolProperty>
- Returns:
- a new instance of
CfnLocationFSxOpenZFS.ProtocolProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-