Class RecordArgs.Builder

  • Enclosing class:
    RecordArgs

    public static final class RecordArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(RecordArgs defaults)
    • Method Detail

      • aliases

        public RecordArgs.Builder aliases​(@Nullable
                                          com.pulumi.core.Output<java.util.List<RecordAliasArgs>> aliases)
        Parameters:
        aliases - An alias block. Conflicts with `ttl` & `records`. Documented below.
        Returns:
        builder
      • aliases

        public RecordArgs.Builder aliases​(java.util.List<RecordAliasArgs> aliases)
        Parameters:
        aliases - An alias block. Conflicts with `ttl` & `records`. Documented below.
        Returns:
        builder
      • aliases

        public RecordArgs.Builder aliases​(RecordAliasArgs... aliases)
        Parameters:
        aliases - An alias block. Conflicts with `ttl` & `records`. Documented below.
        Returns:
        builder
      • allowOverwrite

        public RecordArgs.Builder allowOverwrite​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> allowOverwrite)
        Parameters:
        allowOverwrite - Allow creation of this record to overwrite an existing record, if any. This does not affect the ability to update the record using this provider and does not prevent other resources within this provider or manual Route 53 changes outside this provider from overwriting this record. `false` by default. This configuration is not recommended for most environments. Exactly one of `records` or `alias` must be specified: this determines whether it's an alias record.
        Returns:
        builder
      • allowOverwrite

        public RecordArgs.Builder allowOverwrite​(java.lang.Boolean allowOverwrite)
        Parameters:
        allowOverwrite - Allow creation of this record to overwrite an existing record, if any. This does not affect the ability to update the record using this provider and does not prevent other resources within this provider or manual Route 53 changes outside this provider from overwriting this record. `false` by default. This configuration is not recommended for most environments. Exactly one of `records` or `alias` must be specified: this determines whether it's an alias record.
        Returns:
        builder
      • cidrRoutingPolicy

        public RecordArgs.Builder cidrRoutingPolicy​(@Nullable
                                                    com.pulumi.core.Output<RecordCidrRoutingPolicyArgs> cidrRoutingPolicy)
        Parameters:
        cidrRoutingPolicy - A block indicating a routing policy based on the IP network ranges of requestors. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • cidrRoutingPolicy

        public RecordArgs.Builder cidrRoutingPolicy​(RecordCidrRoutingPolicyArgs cidrRoutingPolicy)
        Parameters:
        cidrRoutingPolicy - A block indicating a routing policy based on the IP network ranges of requestors. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • failoverRoutingPolicies

        public RecordArgs.Builder failoverRoutingPolicies​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<RecordFailoverRoutingPolicyArgs>> failoverRoutingPolicies)
        Parameters:
        failoverRoutingPolicies - A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • failoverRoutingPolicies

        public RecordArgs.Builder failoverRoutingPolicies​(java.util.List<RecordFailoverRoutingPolicyArgs> failoverRoutingPolicies)
        Parameters:
        failoverRoutingPolicies - A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • failoverRoutingPolicies

        public RecordArgs.Builder failoverRoutingPolicies​(RecordFailoverRoutingPolicyArgs... failoverRoutingPolicies)
        Parameters:
        failoverRoutingPolicies - A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • geolocationRoutingPolicies

        public RecordArgs.Builder geolocationRoutingPolicies​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<RecordGeolocationRoutingPolicyArgs>> geolocationRoutingPolicies)
        Parameters:
        geolocationRoutingPolicies - A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • geolocationRoutingPolicies

        public RecordArgs.Builder geolocationRoutingPolicies​(java.util.List<RecordGeolocationRoutingPolicyArgs> geolocationRoutingPolicies)
        Parameters:
        geolocationRoutingPolicies - A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • geolocationRoutingPolicies

        public RecordArgs.Builder geolocationRoutingPolicies​(RecordGeolocationRoutingPolicyArgs... geolocationRoutingPolicies)
        Parameters:
        geolocationRoutingPolicies - A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • geoproximityRoutingPolicy

        public RecordArgs.Builder geoproximityRoutingPolicy​(@Nullable
                                                            com.pulumi.core.Output<RecordGeoproximityRoutingPolicyArgs> geoproximityRoutingPolicy)
        Parameters:
        geoproximityRoutingPolicy - A block indicating a routing policy based on the geoproximity of the requestor. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • geoproximityRoutingPolicy

        public RecordArgs.Builder geoproximityRoutingPolicy​(RecordGeoproximityRoutingPolicyArgs geoproximityRoutingPolicy)
        Parameters:
        geoproximityRoutingPolicy - A block indicating a routing policy based on the geoproximity of the requestor. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • healthCheckId

        public RecordArgs.Builder healthCheckId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> healthCheckId)
        Parameters:
        healthCheckId - The health check the record should be associated with.
        Returns:
        builder
      • healthCheckId

        public RecordArgs.Builder healthCheckId​(java.lang.String healthCheckId)
        Parameters:
        healthCheckId - The health check the record should be associated with.
        Returns:
        builder
      • latencyRoutingPolicies

        public RecordArgs.Builder latencyRoutingPolicies​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<RecordLatencyRoutingPolicyArgs>> latencyRoutingPolicies)
        Parameters:
        latencyRoutingPolicies - A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • latencyRoutingPolicies

        public RecordArgs.Builder latencyRoutingPolicies​(java.util.List<RecordLatencyRoutingPolicyArgs> latencyRoutingPolicies)
        Parameters:
        latencyRoutingPolicies - A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • latencyRoutingPolicies

        public RecordArgs.Builder latencyRoutingPolicies​(RecordLatencyRoutingPolicyArgs... latencyRoutingPolicies)
        Parameters:
        latencyRoutingPolicies - A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • multivalueAnswerRoutingPolicy

        public RecordArgs.Builder multivalueAnswerRoutingPolicy​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> multivalueAnswerRoutingPolicy)
        Parameters:
        multivalueAnswerRoutingPolicy - Set to `true` to indicate a multivalue answer routing policy. Conflicts with any other routing policy.
        Returns:
        builder
      • multivalueAnswerRoutingPolicy

        public RecordArgs.Builder multivalueAnswerRoutingPolicy​(java.lang.Boolean multivalueAnswerRoutingPolicy)
        Parameters:
        multivalueAnswerRoutingPolicy - Set to `true` to indicate a multivalue answer routing policy. Conflicts with any other routing policy.
        Returns:
        builder
      • name

        public RecordArgs.Builder name​(com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the record.
        Returns:
        builder
      • name

        public RecordArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the record.
        Returns:
        builder
      • records

        public RecordArgs.Builder records​(@Nullable
                                          com.pulumi.core.Output<java.util.List<java.lang.String>> records)
        Parameters:
        records - A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the provider configuration string (e.g., `"first255characters\"\"morecharacters"`).
        Returns:
        builder
      • records

        public RecordArgs.Builder records​(java.util.List<java.lang.String> records)
        Parameters:
        records - A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the provider configuration string (e.g., `"first255characters\"\"morecharacters"`).
        Returns:
        builder
      • records

        public RecordArgs.Builder records​(java.lang.String... records)
        Parameters:
        records - A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the provider configuration string (e.g., `"first255characters\"\"morecharacters"`).
        Returns:
        builder
      • setIdentifier

        public RecordArgs.Builder setIdentifier​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> setIdentifier)
        Parameters:
        setIdentifier - Unique identifier to differentiate records with routing policies from one another. Required if using `cidrRoutingPolicy`, `failoverRoutingPolicy`, `geolocationRoutingPolicy`,`geoproximityRoutingPolicy`, `latencyRoutingPolicy`, `multivalueAnswerRoutingPolicy`, or `weightedRoutingPolicy`.
        Returns:
        builder
      • setIdentifier

        public RecordArgs.Builder setIdentifier​(java.lang.String setIdentifier)
        Parameters:
        setIdentifier - Unique identifier to differentiate records with routing policies from one another. Required if using `cidrRoutingPolicy`, `failoverRoutingPolicy`, `geolocationRoutingPolicy`,`geoproximityRoutingPolicy`, `latencyRoutingPolicy`, `multivalueAnswerRoutingPolicy`, or `weightedRoutingPolicy`.
        Returns:
        builder
      • ttl

        public RecordArgs.Builder ttl​(@Nullable
                                      com.pulumi.core.Output<java.lang.Integer> ttl)
        Parameters:
        ttl - The TTL of the record.
        Returns:
        builder
      • ttl

        public RecordArgs.Builder ttl​(java.lang.Integer ttl)
        Parameters:
        ttl - The TTL of the record.
        Returns:
        builder
      • type

        public RecordArgs.Builder type​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​RecordType>> type)
        Parameters:
        type - The record type. Valid values are `A`, `AAAA`, `CAA`, `CNAME`, `DS`, `HTTPS`, `MX`, `NAPTR`, `NS`, `PTR`, `SOA`, `SPF`, `SRV`, `SSHFP`, `SVCB`, `TLSA`, and `TXT`.
        Returns:
        builder
      • type

        public RecordArgs.Builder type​(com.pulumi.core.Either<java.lang.String,​RecordType> type)
        Parameters:
        type - The record type. Valid values are `A`, `AAAA`, `CAA`, `CNAME`, `DS`, `HTTPS`, `MX`, `NAPTR`, `NS`, `PTR`, `SOA`, `SPF`, `SRV`, `SSHFP`, `SVCB`, `TLSA`, and `TXT`.
        Returns:
        builder
      • type

        public RecordArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The record type. Valid values are `A`, `AAAA`, `CAA`, `CNAME`, `DS`, `HTTPS`, `MX`, `NAPTR`, `NS`, `PTR`, `SOA`, `SPF`, `SRV`, `SSHFP`, `SVCB`, `TLSA`, and `TXT`.
        Returns:
        builder
      • type

        public RecordArgs.Builder type​(RecordType type)
        Parameters:
        type - The record type. Valid values are `A`, `AAAA`, `CAA`, `CNAME`, `DS`, `HTTPS`, `MX`, `NAPTR`, `NS`, `PTR`, `SOA`, `SPF`, `SRV`, `SSHFP`, `SVCB`, `TLSA`, and `TXT`.
        Returns:
        builder
      • weightedRoutingPolicies

        public RecordArgs.Builder weightedRoutingPolicies​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<RecordWeightedRoutingPolicyArgs>> weightedRoutingPolicies)
        Parameters:
        weightedRoutingPolicies - A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • weightedRoutingPolicies

        public RecordArgs.Builder weightedRoutingPolicies​(java.util.List<RecordWeightedRoutingPolicyArgs> weightedRoutingPolicies)
        Parameters:
        weightedRoutingPolicies - A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • weightedRoutingPolicies

        public RecordArgs.Builder weightedRoutingPolicies​(RecordWeightedRoutingPolicyArgs... weightedRoutingPolicies)
        Parameters:
        weightedRoutingPolicies - A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
        Returns:
        builder
      • zoneId

        public RecordArgs.Builder zoneId​(com.pulumi.core.Output<java.lang.String> zoneId)
        Parameters:
        zoneId - The ID of the hosted zone to contain this record.
        Returns:
        builder
      • zoneId

        public RecordArgs.Builder zoneId​(java.lang.String zoneId)
        Parameters:
        zoneId - The ID of the hosted zone to contain this record.
        Returns:
        builder