Interface ListTrafficPolicyInstancesByHostedZoneResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTrafficPolicyInstancesByHostedZoneResponse.Builder,
,ListTrafficPolicyInstancesByHostedZoneResponse> Route53Response.Builder
,SdkBuilder<ListTrafficPolicyInstancesByHostedZoneResponse.Builder,
,ListTrafficPolicyInstancesByHostedZoneResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTrafficPolicyInstancesByHostedZoneResponse
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated
(Boolean isTruncated) A flag that indicates whether there are more traffic policy instances to be listed.The value that you specified for theMaxItems
parameter in theListTrafficPolicyInstancesByHostedZone
request that produced the current response.trafficPolicyInstanceNameMarker
(String trafficPolicyInstanceNameMarker) IfIsTruncated
istrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of traffic policy instances.trafficPolicyInstances
(Collection<TrafficPolicyInstance> trafficPolicyInstances) A list that contains oneTrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.trafficPolicyInstances
(Consumer<TrafficPolicyInstance.Builder>... trafficPolicyInstances) A list that contains oneTrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.trafficPolicyInstances
(TrafficPolicyInstance... trafficPolicyInstances) A list that contains oneTrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.trafficPolicyInstanceTypeMarker
(String trafficPolicyInstanceTypeMarker) IfIsTruncated
is true,TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.trafficPolicyInstanceTypeMarker
(RRType trafficPolicyInstanceTypeMarker) IfIsTruncated
is true,TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.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
-
trafficPolicyInstances
ListTrafficPolicyInstancesByHostedZoneResponse.Builder trafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances) A list that contains one
TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.- Parameters:
trafficPolicyInstances
- A list that contains oneTrafficPolicyInstance
element 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
ListTrafficPolicyInstancesByHostedZoneResponse.Builder trafficPolicyInstances(TrafficPolicyInstance... trafficPolicyInstances) A list that contains one
TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.- Parameters:
trafficPolicyInstances
- A list that contains oneTrafficPolicyInstance
element 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
ListTrafficPolicyInstancesByHostedZoneResponse.Builder trafficPolicyInstances(Consumer<TrafficPolicyInstance.Builder>... trafficPolicyInstances) A list that contains one
This is a convenience method that creates an instance of theTrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.TrafficPolicyInstance.Builder
avoiding the need to create one manually viaTrafficPolicyInstance.builder()
.When the
Consumer
completes,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:
-
trafficPolicyInstanceNameMarker
ListTrafficPolicyInstancesByHostedZoneResponse.Builder trafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) If
IsTruncated
istrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of traffic policy instances.- Parameters:
trafficPolicyInstanceNameMarker
- IfIsTruncated
istrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of traffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyInstanceTypeMarker
ListTrafficPolicyInstancesByHostedZoneResponse.Builder trafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) If
IsTruncated
is true,TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.- Parameters:
trafficPolicyInstanceTypeMarker
- IfIsTruncated
is true,TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trafficPolicyInstanceTypeMarker
ListTrafficPolicyInstancesByHostedZoneResponse.Builder trafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) If
IsTruncated
is true,TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.- Parameters:
trafficPolicyInstanceTypeMarker
- IfIsTruncated
is true,TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.- 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 the next group of traffic policy instances by submitting another
ListTrafficPolicyInstancesByHostedZone
request and specifying the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
in 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 the next group of traffic policy instances by submitting anotherListTrafficPolicyInstancesByHostedZone
request and specifying the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
in 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
MaxItems
parameter in theListTrafficPolicyInstancesByHostedZone
request that produced the current response.- Parameters:
maxItems
- The value that you specified for theMaxItems
parameter in theListTrafficPolicyInstancesByHostedZone
request that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-