Interface CreateHealthCheckSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHealthCheckSourceRequest.Builder,,CreateHealthCheckSourceRequest> Route53Request.Builder,SdkBuilder<CreateHealthCheckSourceRequest.Builder,,CreateHealthCheckSourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHealthCheckSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptioncallerReference(String callerReference) A unique, case-sensitive identifier that ensures that the operation completes no more than one time.healthCheckSourceConfig(Consumer<HealthCheckSourceConfig.Builder> healthCheckSourceConfig) A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.healthCheckSourceConfig(HealthCheckSourceConfig healthCheckSourceConfig) A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A complex type that contains a list of the tags that you want to apply to the health check source when you create it.tags(Consumer<Tag.Builder>... tags) A complex type that contains a list of the tags that you want to apply to the health check source when you create it.A complex type that contains a list of the tags that you want to apply to the health check source when you create it.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
callerReference
A unique, case-sensitive identifier that ensures that the operation completes no more than one time. If you retry a
CreateHealthCheckSourcerequest with the sameCallerReferenceand the same settings as a previous request, Route 53 returns the existing health check source without creating a duplicate. If that health check source has a status ofCREATE_FAILED, Route 53 tries to create it again. To create a new health check source after a failure, specify a new value forCallerReference. If a health check source with the sameCallerReferencealready exists and the settings differ, Route 53 returns aHealthCheckSourceAlreadyExistserror.- Parameters:
callerReference- A unique, case-sensitive identifier that ensures that the operation completes no more than one time. If you retry aCreateHealthCheckSourcerequest with the sameCallerReferenceand the same settings as a previous request, Route 53 returns the existing health check source without creating a duplicate. If that health check source has a status ofCREATE_FAILED, Route 53 tries to create it again. To create a new health check source after a failure, specify a new value forCallerReference. If a health check source with the sameCallerReferencealready exists and the settings differ, Route 53 returns aHealthCheckSourceAlreadyExistserror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckSourceConfig
CreateHealthCheckSourceRequest.Builder healthCheckSourceConfig(HealthCheckSourceConfig healthCheckSourceConfig) A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.
- Parameters:
healthCheckSourceConfig- A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckSourceConfig
default CreateHealthCheckSourceRequest.Builder healthCheckSourceConfig(Consumer<HealthCheckSourceConfig.Builder> healthCheckSourceConfig) A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.
This is a convenience method that creates an instance of theHealthCheckSourceConfig.Builderavoiding the need to create one manually viaHealthCheckSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheckSourceConfig(HealthCheckSourceConfig).- Parameters:
healthCheckSourceConfig- a consumer that will call methods onHealthCheckSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A complex type that contains a list of the tags that you want to apply to the health check source when you create it.
- Parameters:
tags- A complex type that contains a list of the tags that you want to apply to the health check source when you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A complex type that contains a list of the tags that you want to apply to the health check source when you create it.
- Parameters:
tags- A complex type that contains a list of the tags that you want to apply to the health check source when you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A complex type that contains a list of the tags that you want to apply to the health check source when you create it.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateHealthCheckSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHealthCheckSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-