ToCopyableBuilder<TrafficPolicyInstance.Builder,TrafficPolicyInstance>@Generated("software.amazon.awssdk:codegen") public class TrafficPolicyInstance extends Object implements ToCopyableBuilder<TrafficPolicyInstance.Builder,TrafficPolicyInstance>
A complex type that contains settings for the new traffic policy instance.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
TrafficPolicyInstance.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static TrafficPolicyInstance.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
hostedZoneId() |
The ID of the hosted zone that Amazon Route 53 created resource record sets in.
|
String |
id() |
The ID that Amazon Route 53 assigned to the new traffic policy instance.
|
String |
message() |
If
State is Failed, an explanation of the reason for the failure. |
String |
name() |
The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record
sets that are associated with this traffic policy instance.
|
static Class<? extends TrafficPolicyInstance.Builder> |
serializableBuilderClass() |
|
String |
state() |
The value of
State is one of the following values: |
TrafficPolicyInstance.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
trafficPolicyId() |
The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted
zone.
|
String |
trafficPolicyType() |
The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic
policy instance.
|
Integer |
trafficPolicyVersion() |
The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified
hosted zone.
|
Long |
ttl() |
The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted
zone.
|
public String id()
The ID that Amazon Route 53 assigned to the new traffic policy instance.
public String hostedZoneId()
The ID of the hosted zone that Amazon Route 53 created resource record sets in.
public String name()
The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.
public Long ttl()
The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.
public String state()
The value of State is one of the following values:
Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations.
Amazon Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that
the CreateTrafficPolicyInstance request completed successfully.
Amazon Route 53 wasn't able to create or update the resource record sets. When the value of State is
Failed, see Message for an explanation of what caused the request to fail.
State is one of the following values:
Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations.
Amazon Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to
confirm that the CreateTrafficPolicyInstance request completed successfully.
Amazon Route 53 wasn't able to create or update the resource record sets. When the value of
State is Failed, see Message for an explanation of what caused the
request to fail.
public String message()
If State is Failed, an explanation of the reason for the failure. If State
is another value, Message is empty.
State is Failed, an explanation of the reason for the failure. If
State is another value, Message is empty.public String trafficPolicyId()
The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.
public Integer trafficPolicyVersion()
The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.
public String trafficPolicyType()
The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.
RRTypepublic TrafficPolicyInstance.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TrafficPolicyInstance.Builder,TrafficPolicyInstance>public static TrafficPolicyInstance.Builder builder()
public static Class<? extends TrafficPolicyInstance.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.