Interface ListHealthChecksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHealthChecksResponse.Builder,ListHealthChecksResponse>,Route53Response.Builder,SdkBuilder<ListHealthChecksResponse.Builder,ListHealthChecksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListHealthChecksResponse
public static interface ListHealthChecksResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<ListHealthChecksResponse.Builder,ListHealthChecksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHealthChecksResponse.BuilderhealthChecks(Collection<HealthCheck> healthChecks)A complex type that contains oneHealthCheckelement for each health check that is associated with the current Amazon Web Services account.ListHealthChecksResponse.BuilderhealthChecks(Consumer<HealthCheck.Builder>... healthChecks)A complex type that contains oneHealthCheckelement for each health check that is associated with the current Amazon Web Services account.ListHealthChecksResponse.BuilderhealthChecks(HealthCheck... healthChecks)A complex type that contains oneHealthCheckelement for each health check that is associated with the current Amazon Web Services account.ListHealthChecksResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more health checks to be listed.ListHealthChecksResponse.Buildermarker(String marker)For the second and subsequent calls toListHealthChecks,Markeris the value that you specified for themarkerparameter in the previous request.ListHealthChecksResponse.BuildermaxItems(String maxItems)The value that you specified for themaxitemsparameter in the call toListHealthChecksthat produced the current response.ListHealthChecksResponse.BuildernextMarker(String nextMarker)IfIsTruncatedistrue, the value ofNextMarkeridentifies the first health check that Amazon Route 53 returns if you submit anotherListHealthChecksrequest and specify the value ofNextMarkerin themarkerparameter.-
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
-
healthChecks
ListHealthChecksResponse.Builder healthChecks(Collection<HealthCheck> healthChecks)
A complex type that contains one
HealthCheckelement for each health check that is associated with the current Amazon Web Services account.- Parameters:
healthChecks- A complex type that contains oneHealthCheckelement for each health check that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthChecks
ListHealthChecksResponse.Builder healthChecks(HealthCheck... healthChecks)
A complex type that contains one
HealthCheckelement for each health check that is associated with the current Amazon Web Services account.- Parameters:
healthChecks- A complex type that contains oneHealthCheckelement for each health check that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthChecks
ListHealthChecksResponse.Builder healthChecks(Consumer<HealthCheck.Builder>... healthChecks)
A complex type that contains one
This is a convenience method that creates an instance of theHealthCheckelement for each health check that is associated with the current Amazon Web Services account.HealthCheck.Builderavoiding the need to create one manually viaHealthCheck.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#healthChecks(List.) - Parameters:
healthChecks- a consumer that will call methods onHealthCheck.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#healthChecks(java.util.Collection)
-
marker
ListHealthChecksResponse.Builder marker(String marker)
For the second and subsequent calls to
ListHealthChecks,Markeris the value that you specified for themarkerparameter in the previous request.- Parameters:
marker- For the second and subsequent calls toListHealthChecks,Markeris the value that you specified for themarkerparameter in the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
ListHealthChecksResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another
ListHealthChecksrequest and specifying the value ofNextMarkerin themarkerparameter.- Parameters:
isTruncated- A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting anotherListHealthChecksrequest and specifying the value ofNextMarkerin themarkerparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
ListHealthChecksResponse.Builder nextMarker(String nextMarker)
If
IsTruncatedistrue, the value ofNextMarkeridentifies the first health check that Amazon Route 53 returns if you submit anotherListHealthChecksrequest and specify the value ofNextMarkerin themarkerparameter.- Parameters:
nextMarker- IfIsTruncatedistrue, the value ofNextMarkeridentifies the first health check that Amazon Route 53 returns if you submit anotherListHealthChecksrequest and specify the value ofNextMarkerin themarkerparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
ListHealthChecksResponse.Builder maxItems(String maxItems)
The value that you specified for the
maxitemsparameter in the call toListHealthChecksthat produced the current response.- Parameters:
maxItems- The value that you specified for themaxitemsparameter in the call toListHealthChecksthat produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-