@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpInstanceSummary extends Object implements Serializable, Cloneable, StructuredPojo
In a response to a DiscoverInstances request,
HttpInstanceSummary
contains information about one instance that matches the values that you specified
in the request.
Constructor and Description |
---|
HttpInstanceSummary() |
Modifier and Type | Method and Description |
---|---|
HttpInstanceSummary |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
HttpInstanceSummary |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
HttpInstanceSummary |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
If you included any attributes when you registered the instance, the values of those attributes.
|
String |
getHealthStatus()
If you configured health checking in the service, the current health status of the service instance.
|
String |
getInstanceId()
The ID of an instance that matches the values that you specified in the request.
|
String |
getNamespaceName()
|
String |
getServiceName()
The name of the service that you specified when you registered the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
If you included any attributes when you registered the instance, the values of those attributes.
|
void |
setHealthStatus(String healthStatus)
If you configured health checking in the service, the current health status of the service instance.
|
void |
setInstanceId(String instanceId)
The ID of an instance that matches the values that you specified in the request.
|
void |
setNamespaceName(String namespaceName)
|
void |
setServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
|
String |
toString()
Returns a string representation of this object.
|
HttpInstanceSummary |
withAttributes(Map<String,String> attributes)
If you included any attributes when you registered the instance, the values of those attributes.
|
HttpInstanceSummary |
withHealthStatus(HealthStatus healthStatus)
If you configured health checking in the service, the current health status of the service instance.
|
HttpInstanceSummary |
withHealthStatus(String healthStatus)
If you configured health checking in the service, the current health status of the service instance.
|
HttpInstanceSummary |
withInstanceId(String instanceId)
The ID of an instance that matches the values that you specified in the request.
|
HttpInstanceSummary |
withNamespaceName(String namespaceName)
|
HttpInstanceSummary |
withServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
|
public void setInstanceId(String instanceId)
The ID of an instance that matches the values that you specified in the request.
instanceId
- The ID of an instance that matches the values that you specified in the request.public String getInstanceId()
The ID of an instance that matches the values that you specified in the request.
public HttpInstanceSummary withInstanceId(String instanceId)
The ID of an instance that matches the values that you specified in the request.
instanceId
- The ID of an instance that matches the values that you specified in the request.public void setNamespaceName(String namespaceName)
The HttpName
name of the namespace. It's found in the HttpProperties
member of the
Properties
member of the namespace.
namespaceName
-
The HttpName
name of the namespace. It's found in the
HttpProperties
member of the Properties
member of the namespace.
public String getNamespaceName()
The HttpName
name of the namespace. It's found in the HttpProperties
member of the
Properties
member of the namespace.
The HttpName
name of the namespace. It's found in the
HttpProperties
member of the Properties
member of the namespace.
public HttpInstanceSummary withNamespaceName(String namespaceName)
The HttpName
name of the namespace. It's found in the HttpProperties
member of the
Properties
member of the namespace.
namespaceName
-
The HttpName
name of the namespace. It's found in the
HttpProperties
member of the Properties
member of the namespace.
public void setServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
serviceName
- The name of the service that you specified when you registered the instance.public String getServiceName()
The name of the service that you specified when you registered the instance.
public HttpInstanceSummary withServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
serviceName
- The name of the service that you specified when you registered the instance.public void setHealthStatus(String healthStatus)
If you configured health checking in the service, the current health status of the service instance.
healthStatus
- If you configured health checking in the service, the current health status of the service instance.HealthStatus
public String getHealthStatus()
If you configured health checking in the service, the current health status of the service instance.
HealthStatus
public HttpInstanceSummary withHealthStatus(String healthStatus)
If you configured health checking in the service, the current health status of the service instance.
healthStatus
- If you configured health checking in the service, the current health status of the service instance.HealthStatus
public HttpInstanceSummary withHealthStatus(HealthStatus healthStatus)
If you configured health checking in the service, the current health status of the service instance.
healthStatus
- If you configured health checking in the service, the current health status of the service instance.HealthStatus
public Map<String,String> getAttributes()
If you included any attributes when you registered the instance, the values of those attributes.
public void setAttributes(Map<String,String> attributes)
If you included any attributes when you registered the instance, the values of those attributes.
attributes
- If you included any attributes when you registered the instance, the values of those attributes.public HttpInstanceSummary withAttributes(Map<String,String> attributes)
If you included any attributes when you registered the instance, the values of those attributes.
attributes
- If you included any attributes when you registered the instance, the values of those attributes.public HttpInstanceSummary addAttributesEntry(String key, String value)
public HttpInstanceSummary clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public HttpInstanceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.