Interface GetHealthCheckSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetHealthCheckSourceResponse.Builder,,GetHealthCheckSourceResponse> Route53Response.Builder,SdkBuilder<GetHealthCheckSourceResponse.Builder,,GetHealthCheckSourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetHealthCheckSourceResponse
@Mutable
@NotThreadSafe
public static interface GetHealthCheckSourceResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetHealthCheckSourceResponse.Builder,GetHealthCheckSourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhealthCheckSource(Consumer<HealthCheckSource.Builder> healthCheckSource) A complex type that contains information about the specified health check source.healthCheckSource(HealthCheckSource healthCheckSource) A complex type that contains information about the specified health check source.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
-
healthCheckSource
A complex type that contains information about the specified health check source.
- Parameters:
healthCheckSource- A complex type that contains information about the specified health check source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckSource
default GetHealthCheckSourceResponse.Builder healthCheckSource(Consumer<HealthCheckSource.Builder> healthCheckSource) A complex type that contains information about the specified health check source.
This is a convenience method that creates an instance of theHealthCheckSource.Builderavoiding the need to create one manually viaHealthCheckSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheckSource(HealthCheckSource).- Parameters:
healthCheckSource- 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:
-