com.pulumi.aws.route53.inputs.RecordFailoverRoutingPolicyArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.route53.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class RecordFailoverRoutingPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final RecordFailoverRoutingPolicyArgs Empty = new RecordFailoverRoutingPolicyArgs();
/**
* `PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return `PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets
*
*/
public Output type() {
return this.type;
}
private RecordFailoverRoutingPolicyArgs() {}
private RecordFailoverRoutingPolicyArgs(RecordFailoverRoutingPolicyArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RecordFailoverRoutingPolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private RecordFailoverRoutingPolicyArgs $;
public Builder() {
$ = new RecordFailoverRoutingPolicyArgs();
}
public Builder(RecordFailoverRoutingPolicyArgs defaults) {
$ = new RecordFailoverRoutingPolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param type `PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type `PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public RecordFailoverRoutingPolicyArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("RecordFailoverRoutingPolicyArgs", "type");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy