@Generated(value="software.amazon.awssdk:codegen") public final class Instance extends Object implements StructuredPojo, ToCopyableBuilder<Instance.Builder,Instance>
A complex type that contains information about an instance that Amazon Route 53 creates when you submit a
RegisterInstance
request.
Modifier and Type | Class and Description |
---|---|
static interface |
Instance.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
A string map that contains attribute keys and values.
|
static Instance.Builder |
builder() |
String |
creatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
An identifier that you want to associate with the instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Instance.Builder> |
serializableBuilderClass() |
Instance.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
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.
public 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
helps to determine if a specific client owns the namespace.public 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
public Instance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Instance.Builder,Instance>
public static Instance.Builder builder()
public static Class<? extends Instance.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.