public static interface ServiceChange.Builder extends CopyableBuilder<ServiceChange.Builder,ServiceChange>
Modifier and Type | Method and Description |
---|---|
ServiceChange.Builder |
description(String description)
A description for the service.
|
default ServiceChange.Builder |
dnsConfig(Consumer<DnsConfigChange.Builder> dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to
create when you register an instance.
|
ServiceChange.Builder |
dnsConfig(DnsConfigChange dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to
create when you register an instance.
|
default ServiceChange.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Sets the value of the HealthCheckConfig property for this object.
|
ServiceChange.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
Sets the value of the HealthCheckConfig property for this object.
|
copy
applyMutation, build
ServiceChange.Builder description(String description)
A description for the service.
description
- A description for the service.ServiceChange.Builder dnsConfig(DnsConfigChange dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
dnsConfig
- A complex type that contains information about the resource record sets that you want Amazon Route 53
to create when you register an instance.default ServiceChange.Builder dnsConfig(Consumer<DnsConfigChange.Builder> dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
This is a convenience that creates an instance of theDnsConfigChange.Builder
avoiding the need to
create one manually via DnsConfigChange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to dnsConfig(DnsConfigChange)
.dnsConfig
- a consumer that will call methods on DnsConfigChange.Builder
dnsConfig(DnsConfigChange)
ServiceChange.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
healthCheckConfig
- The new value for the HealthCheckConfig property for this object.default ServiceChange.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
HealthCheckConfig.Builder
avoiding the need to
create one manually via HealthCheckConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to healthCheckConfig(HealthCheckConfig)
.healthCheckConfig
- a consumer that will call methods on HealthCheckConfig.Builder
healthCheckConfig(HealthCheckConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.