Interface ServiceChange.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceChange.Builder,
,ServiceChange> SdkBuilder<ServiceChange.Builder,
,ServiceChange> SdkPojo
- Enclosing class:
ServiceChange
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description for the service.default ServiceChange.Builder
dnsConfig
(Consumer<DnsConfigChange.Builder> dnsConfig) Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.dnsConfig
(DnsConfigChange dnsConfig) Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.default ServiceChange.Builder
healthCheckConfig
(Consumer<HealthCheckConfig.Builder> healthCheckConfig) Public DNS and HTTP namespaces only. Settings for an optional health check.healthCheckConfig
(HealthCheckConfig healthCheckConfig) Public DNS and HTTP namespaces only. Settings for an optional health check.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description for the service.
- Parameters:
description
- A description for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsConfig
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
- Parameters:
dnsConfig
- Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsConfig
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
This is a convenience method that creates an instance of theDnsConfigChange.Builder
avoiding the need to create one manually viaDnsConfigChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsConfig(DnsConfigChange)
.- Parameters:
dnsConfig
- a consumer that will call methods onDnsConfigChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
healthCheckConfig
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in
DnsConfig
.- Parameters:
healthCheckConfig
- Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify inDnsConfig
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckConfig
default ServiceChange.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig) Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in
This is a convenience method that creates an instance of theDnsConfig
.HealthCheckConfig.Builder
avoiding the need to create one manually viaHealthCheckConfig.builder()
.When the
Consumer
completes,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:
-