@Generated(value="software.amazon.awssdk:codegen") public class InstanceSummary extends Object implements StructuredPojo, ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>
A complex type that contains information about the instances that you created by using a specified service.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceSummary.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
A string map that contain attribute keys and values for an instance.
|
static InstanceSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID for an instance that you created by using a specified service.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InstanceSummary.Builder> |
serializableBuilderClass() |
InstanceSummary.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()
The ID for an instance that you created by using a specified service.
public Map<String,String> attributes()
A string map that contain attribute keys and values for an instance. 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.
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.
public InstanceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>
public static InstanceSummary.Builder builder()
public static Class<? extends InstanceSummary.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.