Class ListTrafficPolicyVersionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.route53.model.Route53Request
-
- software.amazon.awssdk.services.route53.model.ListTrafficPolicyVersionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListTrafficPolicyVersionsRequest.Builder,ListTrafficPolicyVersionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListTrafficPolicyVersionsRequest extends Route53Request implements ToCopyableBuilder<ListTrafficPolicyVersionsRequest.Builder,ListTrafficPolicyVersionsRequest>
A complex type that contains the information about the request to list your traffic policies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTrafficPolicyVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTrafficPolicyVersionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()Specify the value ofIdof the traffic policy for which you want to list all versions.StringmaxItems()The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request.List<SdkField<?>>sdkFields()static Class<? extends ListTrafficPolicyVersionsRequest.Builder>serializableBuilderClass()ListTrafficPolicyVersionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrafficPolicyVersionMarker()For your first request toListTrafficPolicyVersions, don't include theTrafficPolicyVersionMarkerparameter.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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()
Specify the value of
Idof the traffic policy for which you want to list all versions.- Returns:
- Specify the value of
Idof the traffic policy for which you want to list all versions.
-
trafficPolicyVersionMarker
public final String trafficPolicyVersionMarker()
For your first request to
ListTrafficPolicyVersions, don't include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get more traffic policy versions, submit anotherListTrafficPolicyVersionsrequest. For the value ofTrafficPolicyVersionMarker, specify the value ofTrafficPolicyVersionMarkerin the previous response.- Returns:
- For your first request to
ListTrafficPolicyVersions, don't include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get more traffic policy versions, submit anotherListTrafficPolicyVersionsrequest. For the value ofTrafficPolicyVersionMarker, specify the value ofTrafficPolicyVersionMarkerin the previous response.
-
maxItems
public final String maxItems()
The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than
MaxItemsversions, the value ofIsTruncatedin the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version that Route 53 will return if you submit another request.- Returns:
- The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response
body for this request. If the specified traffic policy has more than
MaxItemsversions, the value ofIsTruncatedin the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version that Route 53 will return if you submit another request.
-
toBuilder
public ListTrafficPolicyVersionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTrafficPolicyVersionsRequest.Builder,ListTrafficPolicyVersionsRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static ListTrafficPolicyVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTrafficPolicyVersionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-