@Generated(value="software.amazon.awssdk:codegen") public class RegisterInstanceRequest extends ServiceDiscoveryRequest implements ToCopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | RegisterInstanceRequest.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,String> | attributes()
 A string map that contain attribute keys and values. | 
| static RegisterInstanceRequest.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)Used to retrieve the value of a field from any class that extends  SdkRequest. | 
| int | hashCode() | 
| String | instanceId()
 An identifier that you want to associate with the instance. | 
| static Class<? extends RegisterInstanceRequest.Builder> | serializableBuilderClass() | 
| 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. | 
| RegisterInstanceRequest.Builder | toBuilder()Take this object and create a builder that contains all of the current property values of this object. | 
| String | toString() | 
requestOverrideConfigcopypublic 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.
public 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.
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.
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 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.
 
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_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.
         
public RegisterInstanceRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>toBuilder in class ServiceDiscoveryRequestpublic static RegisterInstanceRequest.Builder builder()
public static Class<? extends RegisterInstanceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
 specified should match the member name from the corresponding service-2.json model specified in the
 codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
 If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
 again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.