@Stability(value=Experimental) public static final class BaseServiceProps.Builder extends Object implements software.amazon.jsii.Builder<BaseServiceProps>
BaseServiceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BaseServiceProps |
build()
Builds the configured instance.
|
BaseServiceProps.Builder |
customHealthCheck(HealthCheckCustomConfig customHealthCheck)
Sets the value of
BaseServiceProps.getCustomHealthCheck() |
BaseServiceProps.Builder |
description(String description)
Sets the value of
BaseServiceProps.getDescription() |
BaseServiceProps.Builder |
healthCheck(HealthCheckConfig healthCheck)
Sets the value of
BaseServiceProps.getHealthCheck() |
BaseServiceProps.Builder |
name(String name)
Sets the value of
BaseServiceProps.getName() |
@Stability(value=Experimental) public BaseServiceProps.Builder customHealthCheck(HealthCheckCustomConfig customHealthCheck)
BaseServiceProps.getCustomHealthCheck()
customHealthCheck
- Structure containing failure threshold for a custom health checker.
Only one of healthCheckConfig or healthCheckCustomConfig can be specified.
See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.htmlthis
@Stability(value=Experimental) public BaseServiceProps.Builder description(String description)
BaseServiceProps.getDescription()
description
- A description of the service.this
@Stability(value=Experimental) public BaseServiceProps.Builder healthCheck(HealthCheckConfig healthCheck)
BaseServiceProps.getHealthCheck()
healthCheck
- Settings for an optional health check.
If you specify health check settings, AWS Cloud Map associates the health
check with the records that you specify in DnsConfig. Only one of healthCheckConfig or healthCheckCustomConfig can
be specified. Not valid for PrivateDnsNamespaces. If you use healthCheck, you can only register IP instances to
this service.this
@Stability(value=Experimental) public BaseServiceProps.Builder name(String name)
BaseServiceProps.getName()
name
- A name for the Service.this
@Stability(value=Experimental) public BaseServiceProps build()
build
in interface software.amazon.jsii.Builder<BaseServiceProps>
BaseServiceProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.