public static interface Instance.Builder extends CopyableBuilder<Instance.Builder,Instance>
Modifier and Type | Method and Description |
---|---|
Instance.Builder |
attributes(Map<String,String> attributes)
A string map that contains attribute keys and values.
|
Instance.Builder |
creatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
Instance.Builder |
id(String id)
An identifier that you want to associate with the instance.
|
copy
applyMutation, build
Instance.Builder id(String id)
An identifier that you want to associate with the instance. Note the following:
You can use this value to update an existing instance.
To associate a new instance, you must specify a value that is unique among instances that you associate by using the same service.
id
- An identifier that you want to associate with the instance. Note the following:
You can use this value to update an existing instance.
To associate a new instance, you must specify a value that is unique among instances that you associate by using the same service.
Instance.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.Instance.Builder attributes(Map<String,String> attributes)
A string map that contains 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_IP
: If the service that you specify contains a resource record set template for an
A or AAAA record, the IP address that you want Amazon Route 53 to use for the value of the A record.
AWS_INSTANCE_WEIGHT
: The weight value in an SRV record if the service that you specify includes
an SRV record. You can also specify a default weight that is applied to all instances in the
Service
configuration. For more information, see CreateService.
AWS_INSTANCE_PRIORITY
: The priority value in an SRV record if the service that you specify
includes an SRV record.
attributes
- A string map that contains 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_IP
: If the service that you specify contains a resource record set template
for an A or AAAA record, the IP address that you want Amazon Route 53 to use for the value of the A
record.
AWS_INSTANCE_WEIGHT
: The weight value in an SRV record if the service that you specify
includes an SRV record. You can also specify a default weight that is applied to all instances in the
Service
configuration. For more information, see CreateService.
AWS_INSTANCE_PRIORITY
: The priority value in an SRV record if the service that you
specify includes an SRV record.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.