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 theMaxItemsparameter in theListTrafficPoliciesrequest that produced the current response.trafficPolicyIdMarker(String trafficPolicyIdMarker) If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.trafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries) A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.trafficPolicySummaries(Consumer<TrafficPolicySummary.Builder>... trafficPolicySummaries) A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.trafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries) A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.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
-
trafficPolicySummaries
ListTrafficPoliciesResponse.Builder trafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries) A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.- Parameters:
trafficPolicySummaries- A list that contains oneTrafficPolicySummaryelement 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
TrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.- Parameters:
trafficPolicySummaries- A list that contains oneTrafficPolicySummaryelement 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 theTrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.TrafficPolicySummary.Builderavoiding the need to create one manually viaTrafficPolicySummary.builder().When the
Consumercompletes,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
ListTrafficPoliciesrequest and specifying the value ofTrafficPolicyIdMarkerin theTrafficPolicyIdMarkerrequest 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 anotherListTrafficPoliciesrequest and specifying the value ofTrafficPolicyIdMarkerin theTrafficPolicyIdMarkerrequest parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyIdMarker
If the value of
IsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
trafficPolicyIdMarker- If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- 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 theListTrafficPoliciesrequest that produced the current response.- Parameters:
maxItems- The value that you specified for theMaxItemsparameter in theListTrafficPoliciesrequest that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-