public static interface CreateServiceRequest.Builder extends ServiceDiscoveryRequest.Builder, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
Modifier and Type | Method and Description |
---|---|
CreateServiceRequest.Builder |
creatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
CreateServiceRequest.Builder |
description(String description)
A description for the service.
|
default CreateServiceRequest.Builder |
dnsConfig(Consumer<DnsConfig.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.
|
CreateServiceRequest.Builder |
dnsConfig(DnsConfig 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 CreateServiceRequest.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
CreateServiceRequest.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
CreateServiceRequest.Builder |
name(String name)
The name that you want to assign to the service.
|
CreateServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateServiceRequest.Builder name(String name)
The name that you want to assign to the service.
name
- The name that you want to assign to the service.CreateServiceRequest.Builder creatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
creatorRequestId
- An optional parameter that you can use to resolve concurrent creation requests.
CreatorRequestId
helps to determine if a specific client owns the namespace.CreateServiceRequest.Builder description(String description)
A description for the service.
description
- A description for the service.CreateServiceRequest.Builder dnsConfig(DnsConfig 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 CreateServiceRequest.Builder dnsConfig(Consumer<DnsConfig.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 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)
CreateServiceRequest.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, Amazon Route 53 associates the health check with all the resource record
sets that you specify in DnsConfig
.
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
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, Amazon Route 53 associates the health check with all the
resource record sets that you specify in DnsConfig
. The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
default CreateServiceRequest.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, Amazon Route 53 associates the health check with all the resource record
sets that you specify in DnsConfig
.
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
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)
CreateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.