Class DnsRecordSetConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • managedZone

        @Stability(Stable)
        public DnsRecordSetConfig.Builder managedZone​(String managedZone)
        Parameters:
        managedZone - The name of the zone in which this record set will reside. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#managed_zone DnsRecordSet#managed_zone}
        Returns:
        this
      • name

        @Stability(Stable)
        public DnsRecordSetConfig.Builder name​(String name)
        Parameters:
        name - The DNS name this record set will apply to. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#name DnsRecordSet#name}
        Returns:
        this
      • type

        @Stability(Stable)
        public DnsRecordSetConfig.Builder type​(String type)
        Parameters:
        type - The DNS record set type. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#type DnsRecordSet#type}
        Returns:
        this
      • id

        @Stability(Stable)
        public DnsRecordSetConfig.Builder id​(String id)
        Sets the value of DnsRecordSetConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#id DnsRecordSet#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
      • project

        @Stability(Stable)
        public DnsRecordSetConfig.Builder project​(String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#project DnsRecordSet#project}
        Returns:
        this
      • rrdatas

        @Stability(Stable)
        public DnsRecordSetConfig.Builder rrdatas​(List<String> rrdatas)
        Parameters:
        rrdatas - The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string data contains spaces, add surrounding " if you don't want your string to get split on spaces. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add "" inside the Terraform configuration string (e.g. "first255characters""morecharacters"). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#rrdatas DnsRecordSet#rrdatas}
        Returns:
        this
      • ttl

        @Stability(Stable)
        public DnsRecordSetConfig.Builder ttl​(Number ttl)
        Sets the value of DnsRecordSetConfig.getTtl()
        Parameters:
        ttl - The time-to-live of this record set (seconds). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#ttl DnsRecordSet#ttl}
        Returns:
        this
      • connection

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

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