Interface ServiceChange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceChange.Builder,ServiceChange>,SdkBuilder<ServiceChange.Builder,ServiceChange>,SdkPojo
- Enclosing class:
- ServiceChange
public static interface ServiceChange.Builder extends SdkPojo, CopyableBuilder<ServiceChange.Builder,ServiceChange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceChange.Builderdescription(String description)A description for the service.default ServiceChange.BuilderdnsConfig(Consumer<DnsConfigChange.Builder> dnsConfig)Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.ServiceChange.BuilderdnsConfig(DnsConfigChange dnsConfig)Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.default ServiceChange.BuilderhealthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)Public DNS and HTTP namespaces only. Settings for an optional health check.ServiceChange.BuilderhealthCheckConfig(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 Detail
-
description
ServiceChange.Builder description(String 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
ServiceChange.Builder dnsConfig(DnsConfigChange 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
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.
This is a convenience method that creates an instance of theDnsConfigChange.Builderavoiding the need to create one manually viaDnsConfigChange.builder().When the
Consumercompletes,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:
dnsConfig(DnsConfigChange)
-
healthCheckConfig
ServiceChange.Builder healthCheckConfig(HealthCheckConfig 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.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)
-
-