Class DatasyncAgentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.datasync_agent.DatasyncAgentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatasyncAgentConfig>
- Enclosing interface:
- DatasyncAgentConfig
@Stability(Stable) public static final class DatasyncAgentConfig.Builder extends Object implements software.amazon.jsii.Builder<DatasyncAgentConfig>
A builder forDatasyncAgentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasyncAgentConfig.BuilderactivationKey(String activationKey)Sets the value ofDatasyncAgentConfig.getActivationKey()DatasyncAgentConfigbuild()Builds the configured instance.DatasyncAgentConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DatasyncAgentConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DatasyncAgentConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DatasyncAgentConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DatasyncAgentConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DatasyncAgentConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DatasyncAgentConfig.Builderid(String id)Sets the value ofDatasyncAgentConfig.getId()DatasyncAgentConfig.BuilderipAddress(String ipAddress)Sets the value ofDatasyncAgentConfig.getIpAddress()DatasyncAgentConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DatasyncAgentConfig.Buildername(String name)Sets the value ofDatasyncAgentConfig.getName()DatasyncAgentConfig.BuilderprivateLinkEndpoint(String privateLinkEndpoint)Sets the value ofDatasyncAgentConfig.getPrivateLinkEndpoint()DatasyncAgentConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DatasyncAgentConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DatasyncAgentConfig.BuildersecurityGroupArns(List<String> securityGroupArns)Sets the value ofDatasyncAgentConfig.getSecurityGroupArns()DatasyncAgentConfig.BuildersubnetArns(List<String> subnetArns)Sets the value ofDatasyncAgentConfig.getSubnetArns()DatasyncAgentConfig.Buildertags(Map<String,String> tags)Sets the value ofDatasyncAgentConfig.getTags()DatasyncAgentConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofDatasyncAgentConfig.getTagsAll()DatasyncAgentConfig.Buildertimeouts(DatasyncAgentTimeouts timeouts)Sets the value ofDatasyncAgentConfig.getTimeouts()DatasyncAgentConfig.BuildervpcEndpointId(String vpcEndpointId)Sets the value ofDatasyncAgentConfig.getVpcEndpointId()
-
-
-
Method Detail
-
activationKey
@Stability(Stable) public DatasyncAgentConfig.Builder activationKey(String activationKey)
Sets the value ofDatasyncAgentConfig.getActivationKey()- Parameters:
activationKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#activation_key DatasyncAgent#activation_key}.- Returns:
this
-
id
@Stability(Stable) public DatasyncAgentConfig.Builder id(String id)
Sets the value ofDatasyncAgentConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#id DatasyncAgent#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
-
ipAddress
@Stability(Stable) public DatasyncAgentConfig.Builder ipAddress(String ipAddress)
Sets the value ofDatasyncAgentConfig.getIpAddress()- Parameters:
ipAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#ip_address DatasyncAgent#ip_address}.- Returns:
this
-
name
@Stability(Stable) public DatasyncAgentConfig.Builder name(String name)
Sets the value ofDatasyncAgentConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#name DatasyncAgent#name}.- Returns:
this
-
privateLinkEndpoint
@Stability(Stable) public DatasyncAgentConfig.Builder privateLinkEndpoint(String privateLinkEndpoint)
Sets the value ofDatasyncAgentConfig.getPrivateLinkEndpoint()- Parameters:
privateLinkEndpoint- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#private_link_endpoint DatasyncAgent#private_link_endpoint}.- Returns:
this
-
securityGroupArns
@Stability(Stable) public DatasyncAgentConfig.Builder securityGroupArns(List<String> securityGroupArns)
Sets the value ofDatasyncAgentConfig.getSecurityGroupArns()- Parameters:
securityGroupArns- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#security_group_arns DatasyncAgent#security_group_arns}.- Returns:
this
-
subnetArns
@Stability(Stable) public DatasyncAgentConfig.Builder subnetArns(List<String> subnetArns)
Sets the value ofDatasyncAgentConfig.getSubnetArns()- Parameters:
subnetArns- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#subnet_arns DatasyncAgent#subnet_arns}.- Returns:
this
-
tags
@Stability(Stable) public DatasyncAgentConfig.Builder tags(Map<String,String> tags)
Sets the value ofDatasyncAgentConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#tags DatasyncAgent#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DatasyncAgentConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDatasyncAgentConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#tags_all DatasyncAgent#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public DatasyncAgentConfig.Builder timeouts(DatasyncAgentTimeouts timeouts)
Sets the value ofDatasyncAgentConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#timeouts DatasyncAgent#timeouts}- Returns:
this
-
vpcEndpointId
@Stability(Stable) public DatasyncAgentConfig.Builder vpcEndpointId(String vpcEndpointId)
Sets the value ofDatasyncAgentConfig.getVpcEndpointId()- Parameters:
vpcEndpointId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_agent#vpc_endpoint_id DatasyncAgent#vpc_endpoint_id}.- Returns:
this
-
connection
@Stability(Experimental) public DatasyncAgentConfig.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 DatasyncAgentConfig.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 DatasyncAgentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatasyncAgentConfig.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 DatasyncAgentConfig.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 DatasyncAgentConfig.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 DatasyncAgentConfig.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 DatasyncAgentConfig.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 DatasyncAgentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DatasyncAgentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatasyncAgentConfig>- Returns:
- a new instance of
DatasyncAgentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-