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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateHealthCheckResponse.BuilderhealthCheck(Consumer<HealthCheck.Builder> healthCheck)A complex type that contains identifying information about the health check.CreateHealthCheckResponse.BuilderhealthCheck(HealthCheck healthCheck)A complex type that contains identifying information about the health check.CreateHealthCheckResponse.Builderlocation(String location)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 Detail
-
healthCheck
CreateHealthCheckResponse.Builder healthCheck(HealthCheck 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
default CreateHealthCheckResponse.Builder healthCheck(Consumer<HealthCheck.Builder> healthCheck)
A complex type that contains identifying information about the health check.
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)
-
location
CreateHealthCheckResponse.Builder location(String 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.
-
-