Class CfnLocationNFSPropsMixin.OnPremConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnLocationNFSPropsMixin.OnPremConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationNFSPropsMixin.OnPremConfigProperty>
- Enclosing interface:
CfnLocationNFSPropsMixin.OnPremConfigProperty
@Stability(Stable)
public static final class CfnLocationNFSPropsMixin.OnPremConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationNFSPropsMixin.OnPremConfigProperty>
A builder for
CfnLocationNFSPropsMixin.OnPremConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLocationNFSPropsMixin.OnPremConfigProperty.getAgentArns()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentArns
@Stability(Stable) public CfnLocationNFSPropsMixin.OnPremConfigProperty.Builder agentArns(List<String> agentArns) Sets the value ofCfnLocationNFSPropsMixin.OnPremConfigProperty.getAgentArns()- Parameters:
agentArns- The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your NFS file server. You can specify more than one agent. For more information, see Using multiple DataSync agents .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationNFSPropsMixin.OnPremConfigProperty>- Returns:
- a new instance of
CfnLocationNFSPropsMixin.OnPremConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-