public static final class CfnLocationFSxONTAP.ProtocolProperty.Builder
extends java.lang.Object
CfnLocationFSxONTAP.ProtocolProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLocationFSxONTAP.ProtocolProperty |
build()
Builds the configured instance.
|
CfnLocationFSxONTAP.ProtocolProperty.Builder |
nfs(CfnLocationFSxONTAP.NFSProperty nfs)
Sets the value of
CfnLocationFSxONTAP.ProtocolProperty.getNfs() |
CfnLocationFSxONTAP.ProtocolProperty.Builder |
nfs(IResolvable nfs)
Sets the value of
CfnLocationFSxONTAP.ProtocolProperty.getNfs() |
CfnLocationFSxONTAP.ProtocolProperty.Builder |
smb(CfnLocationFSxONTAP.SMBProperty smb)
Sets the value of
CfnLocationFSxONTAP.ProtocolProperty.getSmb() |
CfnLocationFSxONTAP.ProtocolProperty.Builder |
smb(IResolvable smb)
Sets the value of
CfnLocationFSxONTAP.ProtocolProperty.getSmb() |
public CfnLocationFSxONTAP.ProtocolProperty.Builder nfs(IResolvable nfs)
CfnLocationFSxONTAP.ProtocolProperty.getNfs()
nfs
- Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).this
public CfnLocationFSxONTAP.ProtocolProperty.Builder nfs(CfnLocationFSxONTAP.NFSProperty nfs)
CfnLocationFSxONTAP.ProtocolProperty.getNfs()
nfs
- Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).this
public CfnLocationFSxONTAP.ProtocolProperty.Builder smb(IResolvable smb)
CfnLocationFSxONTAP.ProtocolProperty.getSmb()
smb
- Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.this
public CfnLocationFSxONTAP.ProtocolProperty.Builder smb(CfnLocationFSxONTAP.SMBProperty smb)
CfnLocationFSxONTAP.ProtocolProperty.getSmb()
smb
- Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.this
public CfnLocationFSxONTAP.ProtocolProperty build()
CfnLocationFSxONTAP.ProtocolProperty
java.lang.NullPointerException
- if any required attribute was not provided