Interface CfnLocationFSxONTAP.ProtocolProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationFSxONTAP.ProtocolProperty.Jsii$Proxy
- Enclosing class:
CfnLocationFSxONTAP
@Stability(Stable)
public static interface CfnLocationFSxONTAP.ProtocolProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the data transfer protocol that AWS DataSync uses to access your Amazon FSx file system.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.datasync.*; ProtocolProperty protocolProperty = ProtocolProperty.builder() .nfs(NFSProperty.builder() .mountOptions(NfsMountOptionsProperty.builder() .version("version") .build()) .build()) .smb(SMBProperty.builder() .mountOptions(SmbMountOptionsProperty.builder() .version("version") .build()) .password("password") .user("user") // the properties below are optional .domain("domain") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationFSxONTAP.ProtocolProperty
static final class
An implementation forCfnLocationFSxONTAP.ProtocolProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getNfs()
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).default Object
getSmb()
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNfs
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).- See Also:
-
getSmb
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.- See Also:
-
builder
-