Class DatasyncLocationEfsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.datasync_location_efs.DatasyncLocationEfsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatasyncLocationEfsConfig>
- Enclosing interface:
- DatasyncLocationEfsConfig
@Stability(Stable) public static final class DatasyncLocationEfsConfig.Builder extends Object implements software.amazon.jsii.Builder<DatasyncLocationEfsConfig>
A builder forDatasyncLocationEfsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasyncLocationEfsConfig.BuilderaccessPointArn(String accessPointArn)Sets the value ofDatasyncLocationEfsConfig.getAccessPointArn()DatasyncLocationEfsConfigbuild()Builds the configured instance.DatasyncLocationEfsConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DatasyncLocationEfsConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DatasyncLocationEfsConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DatasyncLocationEfsConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DatasyncLocationEfsConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DatasyncLocationEfsConfig.Builderec2Config(DatasyncLocationEfsEc2Config ec2Config)Sets the value ofDatasyncLocationEfsConfig.getEc2Config()DatasyncLocationEfsConfig.BuilderefsFileSystemArn(String efsFileSystemArn)Sets the value ofDatasyncLocationEfsConfig.getEfsFileSystemArn()DatasyncLocationEfsConfig.BuilderfileSystemAccessRoleArn(String fileSystemAccessRoleArn)Sets the value ofDatasyncLocationEfsConfig.getFileSystemAccessRoleArn()DatasyncLocationEfsConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DatasyncLocationEfsConfig.Builderid(String id)Sets the value ofDatasyncLocationEfsConfig.getId()DatasyncLocationEfsConfig.BuilderinTransitEncryption(String inTransitEncryption)Sets the value ofDatasyncLocationEfsConfig.getInTransitEncryption()DatasyncLocationEfsConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DatasyncLocationEfsConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DatasyncLocationEfsConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DatasyncLocationEfsConfig.Buildersubdirectory(String subdirectory)Sets the value ofDatasyncLocationEfsConfig.getSubdirectory()DatasyncLocationEfsConfig.Buildertags(Map<String,String> tags)Sets the value ofDatasyncLocationEfsConfig.getTags()DatasyncLocationEfsConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofDatasyncLocationEfsConfig.getTagsAll()
-
-
-
Method Detail
-
ec2Config
@Stability(Stable) public DatasyncLocationEfsConfig.Builder ec2Config(DatasyncLocationEfsEc2Config ec2Config)
Sets the value ofDatasyncLocationEfsConfig.getEc2Config()- Parameters:
ec2Config- ec2_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#ec2_config DatasyncLocationEfs#ec2_config}- Returns:
this
-
efsFileSystemArn
@Stability(Stable) public DatasyncLocationEfsConfig.Builder efsFileSystemArn(String efsFileSystemArn)
Sets the value ofDatasyncLocationEfsConfig.getEfsFileSystemArn()- Parameters:
efsFileSystemArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#efs_file_system_arn DatasyncLocationEfs#efs_file_system_arn}. This parameter is required.- Returns:
this
-
accessPointArn
@Stability(Stable) public DatasyncLocationEfsConfig.Builder accessPointArn(String accessPointArn)
Sets the value ofDatasyncLocationEfsConfig.getAccessPointArn()- Parameters:
accessPointArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#access_point_arn DatasyncLocationEfs#access_point_arn}.- Returns:
this
-
fileSystemAccessRoleArn
@Stability(Stable) public DatasyncLocationEfsConfig.Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn)
Sets the value ofDatasyncLocationEfsConfig.getFileSystemAccessRoleArn()- Parameters:
fileSystemAccessRoleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#file_system_access_role_arn DatasyncLocationEfs#file_system_access_role_arn}.- Returns:
this
-
id
@Stability(Stable) public DatasyncLocationEfsConfig.Builder id(String id)
Sets the value ofDatasyncLocationEfsConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#id DatasyncLocationEfs#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
inTransitEncryption
@Stability(Stable) public DatasyncLocationEfsConfig.Builder inTransitEncryption(String inTransitEncryption)
Sets the value ofDatasyncLocationEfsConfig.getInTransitEncryption()- Parameters:
inTransitEncryption- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#in_transit_encryption DatasyncLocationEfs#in_transit_encryption}.- Returns:
this
-
subdirectory
@Stability(Stable) public DatasyncLocationEfsConfig.Builder subdirectory(String subdirectory)
Sets the value ofDatasyncLocationEfsConfig.getSubdirectory()- Parameters:
subdirectory- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#subdirectory DatasyncLocationEfs#subdirectory}.- Returns:
this
-
tags
@Stability(Stable) public DatasyncLocationEfsConfig.Builder tags(Map<String,String> tags)
Sets the value ofDatasyncLocationEfsConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#tags DatasyncLocationEfs#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DatasyncLocationEfsConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDatasyncLocationEfsConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_efs#tags_all DatasyncLocationEfs#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DatasyncLocationEfsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DatasyncLocationEfsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatasyncLocationEfsConfig>- Returns:
- a new instance of
DatasyncLocationEfsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-