Interface ListTrafficPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTrafficPoliciesResponse.Builder,
,ListTrafficPoliciesResponse> Route53Response.Builder
,SdkBuilder<ListTrafficPoliciesResponse.Builder,
,ListTrafficPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTrafficPoliciesResponse
-
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 theListTrafficPolicies
request that produced the current response.trafficPolicyIdMarker
(String trafficPolicyIdMarker) If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.trafficPolicySummaries
(Collection<TrafficPolicySummary> trafficPolicySummaries) A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.trafficPolicySummaries
(Consumer<TrafficPolicySummary.Builder>... trafficPolicySummaries) A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.trafficPolicySummaries
(TrafficPolicySummary... trafficPolicySummaries) A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.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
-
trafficPolicySummaries
ListTrafficPoliciesResponse.Builder trafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries) A list that contains one
TrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.- Parameters:
trafficPolicySummaries
- A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicySummaries
ListTrafficPoliciesResponse.Builder trafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries) A list that contains one
TrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.- Parameters:
trafficPolicySummaries
- A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicySummaries
ListTrafficPoliciesResponse.Builder trafficPolicySummaries(Consumer<TrafficPolicySummary.Builder>... trafficPolicySummaries) A list that contains one
This is a convenience method that creates an instance of theTrafficPolicySummary
element for each traffic policy that was created by the current Amazon Web Services account.TrafficPolicySummary.Builder
avoiding the need to create one manually viaTrafficPolicySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrafficPolicySummaries(List<TrafficPolicySummary>)
.- Parameters:
trafficPolicySummaries
- a consumer that will call methods onTrafficPolicySummary.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
ListTrafficPolicies
request and specifying the value ofTrafficPolicyIdMarker
in theTrafficPolicyIdMarker
request 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 anotherListTrafficPolicies
request and specifying the value ofTrafficPolicyIdMarker
in theTrafficPolicyIdMarker
request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyIdMarker
If the value of
IsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
trafficPolicyIdMarker
- If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- 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 theListTrafficPolicies
request that produced the current response.- Parameters:
maxItems
- The value that you specified for theMaxItems
parameter in theListTrafficPolicies
request that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-