Interface ListTrafficPolicyVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTrafficPolicyVersionsResponse.Builder,,ListTrafficPolicyVersionsResponse> Route53Response.Builder,SdkBuilder<ListTrafficPolicyVersionsResponse.Builder,,ListTrafficPolicyVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTrafficPolicyVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated(Boolean isTruncated) A flag that indicates whether there are more traffic policies to be listed.The value that you specified for themaxitemsparameter in theListTrafficPolicyVersionsrequest that produced the current response.trafficPolicies(Collection<TrafficPolicy> trafficPolicies) A list that contains oneTrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.trafficPolicies(Consumer<TrafficPolicy.Builder>... trafficPolicies) A list that contains oneTrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.trafficPolicies(TrafficPolicy... trafficPolicies) A list that contains oneTrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.trafficPolicyVersionMarker(String trafficPolicyVersionMarker) IfIsTruncatedistrue, the value ofTrafficPolicyVersionMarkeridentifies the first traffic policy that Amazon Route 53 will return if you submit another request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trafficPolicies
ListTrafficPolicyVersionsResponse.Builder trafficPolicies(Collection<TrafficPolicy> trafficPolicies) A list that contains one
TrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.- Parameters:
trafficPolicies- A list that contains oneTrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicies
A list that contains one
TrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.- Parameters:
trafficPolicies- A list that contains oneTrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicies
ListTrafficPolicyVersionsResponse.Builder trafficPolicies(Consumer<TrafficPolicy.Builder>... trafficPolicies) A list that contains one
This is a convenience method that creates an instance of theTrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.TrafficPolicy.Builderavoiding the need to create one manually viaTrafficPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrafficPolicies(List<TrafficPolicy>).- Parameters:
trafficPolicies- a consumer that will call methods onTrafficPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isTruncated
A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another
ListTrafficPolicyVersionsrequest and specifying the value ofNextMarkerin themarkerparameter.- Parameters:
isTruncated- A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting anotherListTrafficPolicyVersionsrequest and specifying the value ofNextMarkerin themarkerparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyVersionMarker
ListTrafficPolicyVersionsResponse.Builder trafficPolicyVersionMarker(String trafficPolicyVersionMarker) If
IsTruncatedistrue, the value ofTrafficPolicyVersionMarkeridentifies the first traffic policy that Amazon Route 53 will return if you submit another request. CallListTrafficPolicyVersionsagain and specify the value ofTrafficPolicyVersionMarkerin theTrafficPolicyVersionMarkerrequest parameter.This element is present only if
IsTruncatedistrue.- Parameters:
trafficPolicyVersionMarker- IfIsTruncatedistrue, the value ofTrafficPolicyVersionMarkeridentifies the first traffic policy that Amazon Route 53 will return if you submit another request. CallListTrafficPolicyVersionsagain and specify the value ofTrafficPolicyVersionMarkerin theTrafficPolicyVersionMarkerrequest parameter.This element is present only if
IsTruncatedistrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The value that you specified for the
maxitemsparameter in theListTrafficPolicyVersionsrequest that produced the current response.- Parameters:
maxItems- The value that you specified for themaxitemsparameter in theListTrafficPolicyVersionsrequest that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-