Interface ListHealthCheckSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHealthCheckSourcesResponse.Builder,,ListHealthCheckSourcesResponse> Route53Response.Builder,SdkBuilder<ListHealthCheckSourcesResponse.Builder,,ListHealthCheckSourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHealthCheckSourcesResponse
@Mutable
@NotThreadSafe
public static interface ListHealthCheckSourcesResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<ListHealthCheckSourcesResponse.Builder,ListHealthCheckSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhealthCheckSources(Collection<HealthCheckSource> healthCheckSources) A complex type that contains oneHealthCheckSourceelement for each health check source that is associated with the current Amazon Web Services account.healthCheckSources(Consumer<HealthCheckSource.Builder>... healthCheckSources) A complex type that contains oneHealthCheckSourceelement for each health check source that is associated with the current Amazon Web Services account.healthCheckSources(HealthCheckSource... healthCheckSources) A complex type that contains oneHealthCheckSourceelement for each health check source that is associated with the current Amazon Web Services account.A pagination token.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
-
healthCheckSources
ListHealthCheckSourcesResponse.Builder healthCheckSources(Collection<HealthCheckSource> healthCheckSources) A complex type that contains one
HealthCheckSourceelement for each health check source that is associated with the current Amazon Web Services account.- Parameters:
healthCheckSources- A complex type that contains oneHealthCheckSourceelement for each health check source 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.
-
healthCheckSources
A complex type that contains one
HealthCheckSourceelement for each health check source that is associated with the current Amazon Web Services account.- Parameters:
healthCheckSources- A complex type that contains oneHealthCheckSourceelement for each health check source 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.
-
healthCheckSources
ListHealthCheckSourcesResponse.Builder healthCheckSources(Consumer<HealthCheckSource.Builder>... healthCheckSources) A complex type that contains one
This is a convenience method that creates an instance of theHealthCheckSourceelement for each health check source that is associated with the current Amazon Web Services account.HealthCheckSource.Builderavoiding the need to create one manually viaHealthCheckSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheckSources(List<HealthCheckSource>).- Parameters:
healthCheckSources- a consumer that will call methods onHealthCheckSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. If there are more health check sources to list, specify this value for
NextTokenin the next request.- Parameters:
nextToken- A pagination token. If there are more health check sources to list, specify this value forNextTokenin the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-