Class TrafficPolicySummary
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.TrafficPolicySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TrafficPolicySummary.Builder,TrafficPolicySummary>
@Generated("software.amazon.awssdk:codegen") public final class TrafficPolicySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrafficPolicySummary.Builder,TrafficPolicySummary>
A complex type that contains information about the latest version of one traffic policy that is associated with the current Amazon Web Services account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTrafficPolicySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrafficPolicySummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID that Amazon Route 53 assigned to the traffic policy when you created it.IntegerlatestVersion()The version number of the latest version of the traffic policy.Stringname()The name that you specified for the traffic policy when you created it.List<SdkField<?>>sdkFields()static Class<? extends TrafficPolicySummary.Builder>serializableBuilderClass()TrafficPolicySummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertrafficPolicyCount()The number of traffic policies that are associated with the current Amazon Web Services account.RRTypetype()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.StringtypeAsString()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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
- Returns:
- The ID that Amazon Route 53 assigned to the traffic policy when you created it.
-
name
public final String name()
The name that you specified for the traffic policy when you created it.
- Returns:
- The name that you specified for the traffic policy when you created it.
-
type
public final 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,
typewill returnRRType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.
- See Also:
RRType
-
typeAsString
public final String typeAsString()
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,
typewill returnRRType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.
- See Also:
RRType
-
latestVersion
public final Integer latestVersion()
The version number of the latest version of the traffic policy.
- Returns:
- The version number of the latest version of the traffic policy.
-
trafficPolicyCount
public final Integer trafficPolicyCount()
The number of traffic policies that are associated with the current Amazon Web Services account.
- Returns:
- The number of traffic policies that are associated with the current Amazon Web Services account.
-
toBuilder
public TrafficPolicySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TrafficPolicySummary.Builder,TrafficPolicySummary>
-
builder
public static TrafficPolicySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends TrafficPolicySummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-