Class DatasyncLocationHdfsNameNode.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.datasync_location_hdfs.DatasyncLocationHdfsNameNode.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatasyncLocationHdfsNameNode>
- Enclosing interface:
- DatasyncLocationHdfsNameNode
@Stability(Stable) public static final class DatasyncLocationHdfsNameNode.Builder extends Object implements software.amazon.jsii.Builder<DatasyncLocationHdfsNameNode>
A builder forDatasyncLocationHdfsNameNode
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasyncLocationHdfsNameNodebuild()Builds the configured instance.DatasyncLocationHdfsNameNode.Builderhostname(String hostname)Sets the value ofDatasyncLocationHdfsNameNode.getHostname()DatasyncLocationHdfsNameNode.Builderport(Number port)Sets the value ofDatasyncLocationHdfsNameNode.getPort()
-
-
-
Method Detail
-
hostname
@Stability(Stable) public DatasyncLocationHdfsNameNode.Builder hostname(String hostname)
Sets the value ofDatasyncLocationHdfsNameNode.getHostname()- Parameters:
hostname- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#hostname DatasyncLocationHdfs#hostname}. This parameter is required.- Returns:
this
-
port
@Stability(Stable) public DatasyncLocationHdfsNameNode.Builder port(Number port)
Sets the value ofDatasyncLocationHdfsNameNode.getPort()- Parameters:
port- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#port DatasyncLocationHdfs#port}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DatasyncLocationHdfsNameNode build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatasyncLocationHdfsNameNode>- Returns:
- a new instance of
DatasyncLocationHdfsNameNode - Throws:
NullPointerException- if any required attribute was not provided
-
-