Class OamLinkConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • labelTemplate

        @Stability(Stable)
        public OamLinkConfig.Builder labelTemplate​(String labelTemplate)
        Parameters:
        labelTemplate - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#label_template OamLink#label_template}. This parameter is required.
        Returns:
        this
      • resourceTypes

        @Stability(Stable)
        public OamLinkConfig.Builder resourceTypes​(List<String> resourceTypes)
        Parameters:
        resourceTypes - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#resource_types OamLink#resource_types}. This parameter is required.
        Returns:
        this
      • sinkIdentifier

        @Stability(Stable)
        public OamLinkConfig.Builder sinkIdentifier​(String sinkIdentifier)
        Parameters:
        sinkIdentifier - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#sink_identifier OamLink#sink_identifier}. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public OamLinkConfig.Builder id​(String id)
        Sets the value of OamLinkConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#id OamLink#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
      • tags

        @Stability(Stable)
        public OamLinkConfig.Builder tags​(Map<String,​String> tags)
        Sets the value of OamLinkConfig.getTags()
        Parameters:
        tags - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#tags OamLink#tags}.
        Returns:
        this
      • tagsAll

        @Stability(Stable)
        public OamLinkConfig.Builder tagsAll​(Map<String,​String> tagsAll)
        Sets the value of OamLinkConfig.getTagsAll()
        Parameters:
        tagsAll - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#tags_all OamLink#tags_all}.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public OamLinkConfig.Builder timeouts​(OamLinkTimeouts timeouts)
        Sets the value of OamLinkConfig.getTimeouts()
        Parameters:
        timeouts - timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/oam_link#timeouts OamLink#timeouts}
        Returns:
        this
      • connection

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

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