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 themaxitems
parameter in theListTrafficPolicyVersions
request that produced the current response.trafficPolicies
(Collection<TrafficPolicy> trafficPolicies) A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.trafficPolicies
(Consumer<TrafficPolicy.Builder>... trafficPolicies) A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.trafficPolicies
(TrafficPolicy... trafficPolicies) A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.trafficPolicyVersionMarker
(String trafficPolicyVersionMarker) IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies 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
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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
TrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.- Parameters:
trafficPolicies
- A list that contains oneTrafficPolicy
element 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
TrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.- Parameters:
trafficPolicies
- A list that contains oneTrafficPolicy
element 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 theTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.TrafficPolicy.Builder
avoiding the need to create one manually viaTrafficPolicy.builder()
.When the
Consumer
completes,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
ListTrafficPolicyVersions
request and specifying the value ofNextMarker
in themarker
parameter.- 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 anotherListTrafficPolicyVersions
request and specifying the value ofNextMarker
in themarker
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyVersionMarker
ListTrafficPolicyVersionsResponse.Builder trafficPolicyVersionMarker(String trafficPolicyVersionMarker) If
IsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy that Amazon Route 53 will return if you submit another request. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.- Parameters:
trafficPolicyVersionMarker
- IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy that Amazon Route 53 will return if you submit another request. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The value that you specified for the
maxitems
parameter in theListTrafficPolicyVersions
request that produced the current response.- Parameters:
maxItems
- The value that you specified for themaxitems
parameter in theListTrafficPolicyVersions
request that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-