Package com.pulumi.aws.route53.inputs
Class RecordState.Builder
- java.lang.Object
-
- com.pulumi.aws.route53.inputs.RecordState.Builder
-
- Enclosing class:
- RecordState
public static final class RecordState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RecordState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RecordState defaults)
-
-
Method Detail
-
aliases
public RecordState.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 RecordState.Builder aliases(java.util.List<RecordAliasArgs> aliases)
- Parameters:
aliases- An alias block. Conflicts with `ttl` & `records`. Documented below.- Returns:
- builder
-
aliases
public RecordState.Builder aliases(RecordAliasArgs... aliases)
- Parameters:
aliases- An alias block. Conflicts with `ttl` & `records`. Documented below.- Returns:
- builder
-
allowOverwrite
public RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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
-
fqdn
public RecordState.Builder fqdn(@Nullable com.pulumi.core.Output<java.lang.String> fqdn)
- Parameters:
fqdn- [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) built using the zone domain and `name`. Does not include trailing `.`.- Returns:
- builder
-
fqdn
public RecordState.Builder fqdn(java.lang.String fqdn)
- Parameters:
fqdn- [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) built using the zone domain and `name`. Does not include trailing `.`.- Returns:
- builder
-
geolocationRoutingPolicies
public RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.Builder healthCheckId(java.lang.String healthCheckId)
- Parameters:
healthCheckId- The health check the record should be associated with.- Returns:
- builder
-
latencyRoutingPolicies
public RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the record.- Returns:
- builder
-
name
public RecordState.Builder name(java.lang.String name)
- Parameters:
name- The name of the record.- Returns:
- builder
-
records
public RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.Builder ttl(@Nullable com.pulumi.core.Output<java.lang.Integer> ttl)
- Parameters:
ttl- The TTL of the record.- Returns:
- builder
-
ttl
public RecordState.Builder ttl(java.lang.Integer ttl)
- Parameters:
ttl- The TTL of the record.- Returns:
- builder
-
type
public RecordState.Builder type(@Nullable 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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.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 RecordState.Builder zoneId(@Nullable com.pulumi.core.Output<java.lang.String> zoneId)
- Parameters:
zoneId- The ID of the hosted zone to contain this record.- Returns:
- builder
-
zoneId
public RecordState.Builder zoneId(java.lang.String zoneId)
- Parameters:
zoneId- The ID of the hosted zone to contain this record.- Returns:
- builder
-
build
public RecordState build()
-
-