Interface CreateHealthCheckRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>,Route53Request.Builder,SdkBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateHealthCheckRequest
public static interface CreateHealthCheckRequest.Builder extends Route53Request.Builder, SdkPojo, CopyableBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateHealthCheckRequest.BuildercallerReference(String callerReference)A unique string that identifies the request and that allows you to retry a failedCreateHealthCheckrequest without the risk of creating two identical health checks:default CreateHealthCheckRequest.BuilderhealthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)A complex type that contains settings for a new health check.CreateHealthCheckRequest.BuilderhealthCheckConfig(HealthCheckConfig healthCheckConfig)A complex type that contains settings for a new health check.CreateHealthCheckRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateHealthCheckRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
callerReference
CreateHealthCheckRequest.Builder callerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheckrequest without the risk of creating two identical health checks:-
If you send a
CreateHealthCheckrequest with the sameCallerReferenceand settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health check does exist, Route 53 returns the settings for the existing health check. -
If you send a
CreateHealthCheckrequest with the sameCallerReferenceas a deleted health check, regardless of the settings, Route 53 returns aHealthCheckAlreadyExistserror. -
If you send a
CreateHealthCheckrequest with the sameCallerReferenceas an existing health check but with different settings, Route 53 returns aHealthCheckAlreadyExistserror. -
If you send a
CreateHealthCheckrequest with a uniqueCallerReferencebut settings identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the
CallerReferencefor a deleted health check indefinitely. TheCallerReferencefor a deleted health check will be deleted after a number of days.- Parameters:
callerReference- A unique string that identifies the request and that allows you to retry a failedCreateHealthCheckrequest without the risk of creating two identical health checks:-
If you send a
CreateHealthCheckrequest with the sameCallerReferenceand settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health check does exist, Route 53 returns the settings for the existing health check. -
If you send a
CreateHealthCheckrequest with the sameCallerReferenceas a deleted health check, regardless of the settings, Route 53 returns aHealthCheckAlreadyExistserror. -
If you send a
CreateHealthCheckrequest with the sameCallerReferenceas an existing health check but with different settings, Route 53 returns aHealthCheckAlreadyExistserror. -
If you send a
CreateHealthCheckrequest with a uniqueCallerReferencebut settings identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the
CallerReferencefor a deleted health check indefinitely. TheCallerReferencefor a deleted health check will be deleted after a number of days.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
healthCheckConfig
CreateHealthCheckRequest.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains settings for a new health check.
- Parameters:
healthCheckConfig- A complex type that contains settings for a new health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckConfig
default CreateHealthCheckRequest.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
A complex type that contains settings for a new health check.
This is a convenience method that creates an instance of theHealthCheckConfig.Builderavoiding the need to create one manually viaHealthCheckConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheckConfig(HealthCheckConfig).- Parameters:
healthCheckConfig- a consumer that will call methods onHealthCheckConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
healthCheckConfig(HealthCheckConfig)
-
overrideConfiguration
CreateHealthCheckRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHealthCheckRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-