Class DatasyncAgentConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • activationKey

        @Stability(Stable)
        public DatasyncAgentConfig.Builder activationKey​(String activationKey)
        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 of DatasyncAgentConfig.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)
        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)
        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)
        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)
        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)
        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
      • vpcEndpointId

        @Stability(Stable)
        public DatasyncAgentConfig.Builder vpcEndpointId​(String vpcEndpointId)
        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 of TerraformMetaArguments.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 of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DatasyncAgentConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DatasyncAgentConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this