Class CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin.ProtocolProperty>
- Enclosing interface:
CfnLocationFSxONTAPPropsMixin.ProtocolProperty
@Stability(Stable)
public static final class CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin.ProtocolProperty>
A builder for
CfnLocationFSxONTAPPropsMixin.ProtocolProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getNfs()nfs(IResolvable nfs) Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getNfs()Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getSmb()smb(IResolvable smb) Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getSmb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nfs
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder nfs(IResolvable nfs) Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getNfs()- Parameters:
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).- Returns:
this
-
nfs
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder nfs(CfnLocationFSxONTAPPropsMixin.NFSProperty nfs) Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getNfs()- Parameters:
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).- Returns:
this
-
smb
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder smb(IResolvable smb) Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getSmb()- Parameters:
smb- Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.- Returns:
this
-
smb
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Builder smb(CfnLocationFSxONTAPPropsMixin.SMBProperty smb) Sets the value ofCfnLocationFSxONTAPPropsMixin.ProtocolProperty.getSmb()- Parameters:
smb- Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin.ProtocolProperty>- Returns:
- a new instance of
CfnLocationFSxONTAPPropsMixin.ProtocolProperty - Throws:
NullPointerException- if any required attribute was not provided
-