public static interface ServiceSummary.Builder extends SdkPojo, CopyableBuilder<ServiceSummary.Builder,ServiceSummary>
Modifier and Type | Method and Description |
---|---|
ServiceSummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
|
ServiceSummary.Builder |
createDate(Instant createDate)
The date and time that the service was created.
|
ServiceSummary.Builder |
description(String description)
The description that you specify when you create the service.
|
default ServiceSummary.Builder |
dnsConfig(Consumer<DnsConfig.Builder> dnsConfig)
Sets the value of the DnsConfig property for this object.
|
ServiceSummary.Builder |
dnsConfig(DnsConfig dnsConfig)
Sets the value of the DnsConfig property for this object.
|
default ServiceSummary.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Sets the value of the HealthCheckConfig property for this object.
|
ServiceSummary.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
Sets the value of the HealthCheckConfig property for this object.
|
default ServiceSummary.Builder |
healthCheckCustomConfig(Consumer<HealthCheckCustomConfig.Builder> healthCheckCustomConfig)
Sets the value of the HealthCheckCustomConfig property for this object.
|
ServiceSummary.Builder |
healthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
Sets the value of the HealthCheckCustomConfig property for this object.
|
ServiceSummary.Builder |
id(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
|
ServiceSummary.Builder |
instanceCount(Integer instanceCount)
The number of instances that are currently associated with the service.
|
ServiceSummary.Builder |
name(String name)
The name of the service.
|
copy
applyMutation, build
ServiceSummary.Builder id(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
id
- The ID that AWS Cloud Map assigned to the service when you created it.ServiceSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.ServiceSummary.Builder name(String name)
The name of the service.
name
- The name of the service.ServiceSummary.Builder description(String description)
The description that you specify when you create the service.
description
- The description that you specify when you create the service.ServiceSummary.Builder instanceCount(Integer instanceCount)
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.
instanceCount
- The number of instances that are currently associated with the service. Instances that were previously
associated with the service but that have been deleted are not included in the count.ServiceSummary.Builder dnsConfig(DnsConfig dnsConfig)
dnsConfig
- The new value for the DnsConfig property for this object.default ServiceSummary.Builder dnsConfig(Consumer<DnsConfig.Builder> dnsConfig)
DnsConfig.Builder
avoiding the need to create
one manually via DnsConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to dnsConfig(DnsConfig)
.dnsConfig
- a consumer that will call methods on DnsConfig.Builder
dnsConfig(DnsConfig)
ServiceSummary.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
healthCheckConfig
- The new value for the HealthCheckConfig property for this object.default ServiceSummary.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)
ServiceSummary.Builder healthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
healthCheckCustomConfig
- The new value for the HealthCheckCustomConfig property for this object.default ServiceSummary.Builder healthCheckCustomConfig(Consumer<HealthCheckCustomConfig.Builder> healthCheckCustomConfig)
HealthCheckCustomConfig.Builder
avoiding the
need to create one manually via HealthCheckCustomConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to healthCheckCustomConfig(HealthCheckCustomConfig)
.healthCheckCustomConfig
- a consumer that will call methods on HealthCheckCustomConfig.Builder
healthCheckCustomConfig(HealthCheckCustomConfig)
ServiceSummary.Builder createDate(Instant createDate)
The date and time that the service was created.
createDate
- The date and time that the service was created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.