public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
Modifier and Type | Method and Description |
---|---|
Service.Builder |
arn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
|
Service.Builder |
createDate(Instant createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
|
Service.Builder |
creatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice.
|
Service.Builder |
description(String description)
The description of the service.
|
default Service.Builder |
dnsConfig(Consumer<DnsConfig.Builder> dnsConfig)
A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create
when you register an instance.
|
Service.Builder |
dnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create
when you register an instance.
|
default Service.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
Service.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
default Service.Builder |
healthCheckCustomConfig(Consumer<HealthCheckCustomConfig.Builder> healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
|
Service.Builder |
healthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
|
Service.Builder |
id(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
|
Service.Builder |
instanceCount(Integer instanceCount)
The number of instances that are currently associated with the service.
|
Service.Builder |
name(String name)
The name of the service.
|
Service.Builder |
namespaceId(String namespaceId)
The ID of the namespace that was used to create the service.
|
copy
applyMutation, build
Service.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.Service.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.Service.Builder name(String name)
The name of the service.
name
- The name of the service.Service.Builder namespaceId(String namespaceId)
The ID of the namespace that was used to create the service.
namespaceId
- The ID of the namespace that was used to create the service.Service.Builder description(String description)
The description of the service.
description
- The description of the service.Service.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.Service.Builder dnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.
dnsConfig
- A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to
create when you register an instance.default Service.Builder dnsConfig(Consumer<DnsConfig.Builder> dnsConfig)
A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.
This is a convenience that creates an instance of theDnsConfig.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)
Service.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check. If you
specify settings for a health check, AWS Cloud Map associates the health check with the records that you
specify in DnsConfig
.
For information about the charges for health checks, see Amazon Route 53 Pricing.
healthCheckConfig
- Public DNS namespaces only. A complex type that contains settings for an optional health check.
If you specify settings for a health check, AWS Cloud Map associates the health check with the records
that you specify in DnsConfig
.
For information about the charges for health checks, see Amazon Route 53 Pricing.
default Service.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check. If you
specify settings for a health check, AWS Cloud Map associates the health check with the records that you
specify in DnsConfig
.
For information about the charges for health checks, see Amazon Route 53 Pricing.
This is a convenience that creates an instance of theHealthCheckConfig.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)
Service.Builder healthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
healthCheckCustomConfig
- A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either
HealthCheckCustomConfig
or HealthCheckConfig
but not both.
default Service.Builder healthCheckCustomConfig(Consumer<HealthCheckCustomConfig.Builder> healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
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)
Service.Builder createDate(Instant createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The
value of CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
createDate
- The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
The value of CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.Service.Builder creatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the
risk of executing the operation twice. CreatorRequestId
can be any unique string, for
example, a date/time stamp.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.