@Stability(value=Stable)
public static interface CfnLocationFSxONTAP.ProtocolProperty
extends software.amazon.jsii.JsiiSerializable
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLocationFSxONTAP.ProtocolProperty.Builder
A builder for
CfnLocationFSxONTAP.ProtocolProperty |
static class |
CfnLocationFSxONTAP.ProtocolProperty.Jsii$Proxy
An implementation for
CfnLocationFSxONTAP.ProtocolProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLocationFSxONTAP.ProtocolProperty.Builder |
builder() |
default Object |
getNfs()
`CfnLocationFSxONTAP.ProtocolProperty.NFS`.
|
default Object |
getSmb()
`CfnLocationFSxONTAP.ProtocolProperty.SMB`.
|
@Stability(value=Stable) @Nullable default Object getNfs()
@Stability(value=Stable) @Nullable default Object getSmb()
@Stability(value=Stable) static CfnLocationFSxONTAP.ProtocolProperty.Builder builder()
Copyright © 2022. All rights reserved.