public static interface RegisterInstanceRequest.Builder extends ServiceDiscoveryRequest.Builder, CopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>
Modifier and Type | Method and Description |
---|---|
RegisterInstanceRequest.Builder |
attributes(Map<String,String> attributes)
A string map that contain attribute keys and values.
|
RegisterInstanceRequest.Builder |
creatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
RegisterInstanceRequest.Builder |
instanceId(String instanceId)
An identifier that you want to associate with the instance.
|
RegisterInstanceRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
RegisterInstanceRequest.Builder |
serviceId(String serviceId)
The ID of the service that you want to use for settings for the resource record sets and health check that
Amazon Route 53 will create.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
RegisterInstanceRequest.Builder serviceId(String serviceId)
The ID of the service that you want to use for settings for the resource record sets and health check that Amazon Route 53 will create.
serviceId
- The ID of the service that you want to use for settings for the resource record sets and health check
that Amazon Route 53 will create.RegisterInstanceRequest.Builder instanceId(String instanceId)
An identifier that you want to associate with the instance. Note the following:
You can use this value to update an existing instance.
To register a new instance, you must specify a value that is unique among instances that you register by using the same service.
instanceId
- An identifier that you want to associate with the instance. Note the following:
You can use this value to update an existing instance.
To register a new instance, you must specify a value that is unique among instances that you register by using the same service.
RegisterInstanceRequest.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.RegisterInstanceRequest.Builder attributes(Map<String,String> attributes)
A string map that contain attribute keys and values. Supported attribute keys include the following:
AWS_INSTANCE_PORT
: The port on the endpoint that you want Amazon Route 53 to perform health
checks on. This value is also used for the port value in an SRV record if the service that you specify
includes an SRV record. For more information, see CreateService.
AWS_INSTANCE_IPV4
: If the service that you specify contains a resource record set template for
an A record, the IPv4 address that you want Amazon Route 53 to use for the value of the A record.
AWS_INSTANCE_IPV6
: If the service that you specify contains a resource record set template for
an AAAA record, the IPv6 address that you want Amazon Route 53 to use for the value of the AAAA record.
attributes
- A string map that contain attribute keys and values. Supported attribute keys include the
following:
AWS_INSTANCE_PORT
: The port on the endpoint that you want Amazon Route 53 to perform
health checks on. This value is also used for the port value in an SRV record if the service that you
specify includes an SRV record. For more information, see CreateService.
AWS_INSTANCE_IPV4
: If the service that you specify contains a resource record set
template for an A record, the IPv4 address that you want Amazon Route 53 to use for the value of the A
record.
AWS_INSTANCE_IPV6
: If the service that you specify contains a resource record set
template for an AAAA record, the IPv6 address that you want Amazon Route 53 to use for the value of
the AAAA record.
RegisterInstanceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.