@Generated(value="software.amazon.awssdk:codegen") public class TrafficPolicySummary extends Object implements ToCopyableBuilder<TrafficPolicySummary.Builder,TrafficPolicySummary>
A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.
Modifier and Type | Class and Description |
---|---|
static interface |
TrafficPolicySummary.Builder |
Modifier and Type | Method and Description |
---|---|
static TrafficPolicySummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
|
Integer |
latestVersion()
The version number of the latest version of the traffic policy.
|
String |
name()
The name that you specified for the traffic policy when you created it.
|
static Class<? extends TrafficPolicySummary.Builder> |
serializableBuilderClass() |
TrafficPolicySummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
trafficPolicyCount()
The number of traffic policies that are associated with the current AWS account.
|
RRType |
type()
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a
traffic policy instance.
|
String |
typeString()
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a
traffic policy instance.
|
copy
public String id()
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
public String name()
The name that you specified for the traffic policy when you created it.
public RRType type()
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
If the service returns an enum value that is not available in the current SDK version, type
will return
RRType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
RRType
public String typeString()
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
If the service returns an enum value that is not available in the current SDK version, type
will return
RRType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
RRType
public Integer latestVersion()
The version number of the latest version of the traffic policy.
public Integer trafficPolicyCount()
The number of traffic policies that are associated with the current AWS account.
public TrafficPolicySummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TrafficPolicySummary.Builder,TrafficPolicySummary>
public static TrafficPolicySummary.Builder builder()
public static Class<? extends TrafficPolicySummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.