Interface ListTrafficPolicyInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTrafficPolicyInstancesResponse.Builder,,ListTrafficPolicyInstancesResponse> Route53Response.Builder,SdkBuilder<ListTrafficPolicyInstancesResponse.Builder,,ListTrafficPolicyInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTrafficPolicyInstancesResponse
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneIdMarker(String hostedZoneIdMarker) IfIsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.isTruncated(Boolean isTruncated) A flag that indicates whether there are more traffic policy instances to be listed.The value that you specified for theMaxItemsparameter in the call toListTrafficPolicyInstancesthat produced the current response.trafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) IfIsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.trafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances) A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.trafficPolicyInstances(Consumer<TrafficPolicyInstance.Builder>... trafficPolicyInstances) A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.trafficPolicyInstances(TrafficPolicyInstance... trafficPolicyInstances) A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.trafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.trafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.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
-
trafficPolicyInstances
ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances) A list that contains one
TrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.- Parameters:
trafficPolicyInstances- A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyInstances
ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstances(TrafficPolicyInstance... trafficPolicyInstances) A list that contains one
TrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.- Parameters:
trafficPolicyInstances- A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyInstances
ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstances(Consumer<TrafficPolicyInstance.Builder>... trafficPolicyInstances) A list that contains one
This is a convenience method that creates an instance of theTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.TrafficPolicyInstance.Builderavoiding the need to create one manually viaTrafficPolicyInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrafficPolicyInstances(List<TrafficPolicyInstance>).- Parameters:
trafficPolicyInstances- a consumer that will call methods onTrafficPolicyInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostedZoneIdMarker
If
IsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Parameters:
hostedZoneIdMarker- IfIsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyInstanceNameMarker
ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) If
IsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Parameters:
trafficPolicyInstanceNameMarker- IfIsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyInstanceTypeMarker
ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) If
IsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Parameters:
trafficPolicyInstanceTypeMarker- IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trafficPolicyInstanceTypeMarker
ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) If
IsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- Parameters:
trafficPolicyInstanceTypeMarker- IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.- 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 policy instances to be listed. If the response was truncated, you can get more traffic policy instances by calling
ListTrafficPolicyInstancesagain and specifying the values of theHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerin the corresponding request parameters.- Parameters:
isTruncated- A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get more traffic policy instances by callingListTrafficPolicyInstancesagain and specifying the values of theHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerin the corresponding request parameters.- 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 the call toListTrafficPolicyInstancesthat produced the current response.- Parameters:
maxItems- The value that you specified for theMaxItemsparameter in the call toListTrafficPolicyInstancesthat produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-