Class CfnLocationNFS.OnPremConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationNFS.OnPremConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationNFS.OnPremConfigProperty>
- Enclosing interface:
- CfnLocationNFS.OnPremConfigProperty
@Stability(Stable)
public static final class CfnLocationNFS.OnPremConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationNFS.OnPremConfigProperty>
A builder for
CfnLocationNFS.OnPremConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLocationNFS.OnPremConfigProperty.getAgentArns()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentArns
@Stability(Stable) public CfnLocationNFS.OnPremConfigProperty.Builder agentArns(List<String> agentArns) Sets the value ofCfnLocationNFS.OnPremConfigProperty.getAgentArns()- Parameters:
agentArns- ARNs of the agents to use for an NFS location. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationNFS.OnPremConfigProperty>- Returns:
- a new instance of
CfnLocationNFS.OnPremConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-