Interface GetHealthCheckResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetHealthCheckResponse.Builder,GetHealthCheckResponse>,Route53Response.Builder,SdkBuilder<GetHealthCheckResponse.Builder,GetHealthCheckResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetHealthCheckResponse
public static interface GetHealthCheckResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetHealthCheckResponse.Builder,GetHealthCheckResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetHealthCheckResponse.BuilderhealthCheck(Consumer<HealthCheck.Builder> healthCheck)A complex type that contains information about one health check that is associated with the current Amazon Web Services account.GetHealthCheckResponse.BuilderhealthCheck(HealthCheck healthCheck)A complex type that contains information about one health check that is associated with the current Amazon Web Services account.-
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
-
healthCheck
GetHealthCheckResponse.Builder healthCheck(HealthCheck healthCheck)
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
- Parameters:
healthCheck- A complex type that contains information about one 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.
-
healthCheck
default GetHealthCheckResponse.Builder healthCheck(Consumer<HealthCheck.Builder> healthCheck)
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
This is a convenience method that creates an instance of theHealthCheck.Builderavoiding the need to create one manually viaHealthCheck.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheck(HealthCheck).- Parameters:
healthCheck- 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:
healthCheck(HealthCheck)
-
-