Interface CreateHealthCheckResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateHealthCheckResponse.Builder,
,CreateHealthCheckResponse> Route53Response.Builder
,SdkBuilder<CreateHealthCheckResponse.Builder,
,CreateHealthCheckResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateHealthCheckResponse
public static interface CreateHealthCheckResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<CreateHealthCheckResponse.Builder,CreateHealthCheckResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhealthCheck
(Consumer<HealthCheck.Builder> healthCheck) A complex type that contains identifying information about the health check.healthCheck
(HealthCheck healthCheck) A complex type that contains identifying information about the health check.The unique URL representing the new health check.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 Details
-
healthCheck
A complex type that contains identifying information about the health check.
- Parameters:
healthCheck
- A complex type that contains identifying information about the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
A complex type that contains identifying information about the health check.
This is a convenience method that creates an instance of theHealthCheck.Builder
avoiding the need to create one manually viaHealthCheck.builder()
.When the
Consumer
completes,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:
-
location
The unique URL representing the new health check.
- Parameters:
location
- The unique URL representing the new health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-