Interface ListTrafficPolicyInstancesByPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTrafficPolicyInstancesByPolicyResponse.Builder,ListTrafficPolicyInstancesByPolicyResponse>,Route53Response.Builder,SdkBuilder<ListTrafficPolicyInstancesByPolicyResponse.Builder,ListTrafficPolicyInstancesByPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTrafficPolicyInstancesByPolicyResponse
public static interface ListTrafficPolicyInstancesByPolicyResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<ListTrafficPolicyInstancesByPolicyResponse.Builder,ListTrafficPolicyInstancesByPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTrafficPolicyInstancesByPolicyResponse.BuilderhostedZoneIdMarker(String hostedZoneIdMarker)IfIsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.ListTrafficPolicyInstancesByPolicyResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more traffic policy instances to be listed.ListTrafficPolicyInstancesByPolicyResponse.BuildermaxItems(String maxItems)The value that you specified for theMaxItemsparameter in the call toListTrafficPolicyInstancesByPolicythat produced the current response.ListTrafficPolicyInstancesByPolicyResponse.BuildertrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)IfIsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.ListTrafficPolicyInstancesByPolicyResponse.BuildertrafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances)A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.ListTrafficPolicyInstancesByPolicyResponse.BuildertrafficPolicyInstances(Consumer<TrafficPolicyInstance.Builder>... trafficPolicyInstances)A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.ListTrafficPolicyInstancesByPolicyResponse.BuildertrafficPolicyInstances(TrafficPolicyInstance... trafficPolicyInstances)A list that contains oneTrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.ListTrafficPolicyInstancesByPolicyResponse.BuildertrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic policy instances.ListTrafficPolicyInstancesByPolicyResponse.BuildertrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic 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 Detail
-
trafficPolicyInstances
ListTrafficPolicyInstancesByPolicyResponse.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
ListTrafficPolicyInstancesByPolicyResponse.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
ListTrafficPolicyInstancesByPolicyResponse.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 to#trafficPolicyInstances(List.) - 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:
#trafficPolicyInstances(java.util.Collection)
-
hostedZoneIdMarker
ListTrafficPolicyInstancesByPolicyResponse.Builder hostedZoneIdMarker(String hostedZoneIdMarker)
If
IsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.- Parameters:
hostedZoneIdMarker- IfIsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone 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.
-
trafficPolicyInstanceNameMarker
ListTrafficPolicyInstancesByPolicyResponse.Builder trafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
If
IsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.- Parameters:
trafficPolicyInstanceNameMarker- IfIsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyInstanceTypeMarker
ListTrafficPolicyInstancesByPolicyResponse.Builder trafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
If
IsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic policy instances.- Parameters:
trafficPolicyInstanceTypeMarker- IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType,RRType
-
trafficPolicyInstanceTypeMarker
ListTrafficPolicyInstancesByPolicyResponse.Builder trafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
If
IsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic policy instances.- Parameters:
trafficPolicyInstanceTypeMarker- IfIsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType,RRType
-
isTruncated
ListTrafficPolicyInstancesByPolicyResponse.Builder isTruncated(Boolean 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 calling
ListTrafficPolicyInstancesByPolicyagain and specifying the values of theHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerelements 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 callingListTrafficPolicyInstancesByPolicyagain and specifying the values of theHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerelements in the corresponding request parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
ListTrafficPolicyInstancesByPolicyResponse.Builder maxItems(String maxItems)
The value that you specified for the
MaxItemsparameter in the call toListTrafficPolicyInstancesByPolicythat produced the current response.- Parameters:
maxItems- The value that you specified for theMaxItemsparameter in the call toListTrafficPolicyInstancesByPolicythat produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-