|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.elb.domain.InstanceHealth
public class InstanceHealth
the current state of an instance in a loadbalancer.
| Nested Class Summary | |
|---|---|
static class |
InstanceHealth.Builder
|
| Field Summary | |
|---|---|
protected String |
description
|
protected String |
instanceId
|
protected com.google.common.base.Optional<String> |
reasonCode
|
protected String |
state
|
| Constructor Summary | |
|---|---|
protected |
InstanceHealth(String description,
String instanceId,
com.google.common.base.Optional<String> reasonCode,
String state)
|
| Method Summary | |
|---|---|
static InstanceHealth.Builder |
builder()
|
boolean |
equals(Object obj)
|
String |
getDescription()
Provides a description of the instance. |
String |
getInstanceId()
Provides an EC2 instance ID. |
com.google.common.base.Optional<String> |
getReasonCode()
Provides information about the cause of OutOfService instances. |
String |
getState()
Specifies the current status of the instance. |
int |
hashCode()
|
InstanceHealth.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String description
protected final String instanceId
protected final com.google.common.base.Optional<String> reasonCode
protected final String state
| Constructor Detail |
|---|
protected InstanceHealth(String description,
String instanceId,
com.google.common.base.Optional<String> reasonCode,
String state)
| Method Detail |
|---|
public static InstanceHealth.Builder builder()
public InstanceHealth.Builder toBuilder()
public String getDescription()
public String getInstanceId()
public com.google.common.base.Optional<String> getReasonCode()
public String getState()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||