public class AgentStatusSummary
extends java.lang.Object
implements java.io.Serializable
Summary information for an agent status.
| Constructor and Description |
|---|
AgentStatusSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) for the agent status.
|
java.lang.String |
getId()
The identifier for an agent status.
|
java.lang.String |
getName()
The name of the agent status.
|
java.lang.String |
getType()
The type of the agent status.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the agent status.
|
void |
setId(java.lang.String id)
The identifier for an agent status.
|
void |
setName(java.lang.String name)
The name of the agent status.
|
void |
setType(AgentStatusType type)
The type of the agent status.
|
void |
setType(java.lang.String type)
The type of the agent status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentStatusSummary |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the agent status.
|
AgentStatusSummary |
withId(java.lang.String id)
The identifier for an agent status.
|
AgentStatusSummary |
withName(java.lang.String name)
The name of the agent status.
|
AgentStatusSummary |
withType(AgentStatusType type)
The type of the agent status.
|
AgentStatusSummary |
withType(java.lang.String type)
The type of the agent status.
|
public java.lang.String getId()
The identifier for an agent status.
The identifier for an agent status.
public void setId(java.lang.String id)
The identifier for an agent status.
id - The identifier for an agent status.
public AgentStatusSummary withId(java.lang.String id)
The identifier for an agent status.
Returns a reference to this object so that method calls can be chained together.
id - The identifier for an agent status.
public java.lang.String getArn()
The Amazon Resource Name (ARN) for the agent status.
The Amazon Resource Name (ARN) for the agent status.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the agent status.
arn - The Amazon Resource Name (ARN) for the agent status.
public AgentStatusSummary withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the agent status.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) for the agent status.
public java.lang.String getName()
The name of the agent status.
Constraints:
Length: 1 - 127
The name of the agent status.
public void setName(java.lang.String name)
The name of the agent status.
Constraints:
Length: 1 - 127
name - The name of the agent status.
public AgentStatusSummary withName(java.lang.String name)
The name of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the agent status.
public java.lang.String getType()
The type of the agent status.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
The type of the agent status.
AgentStatusTypepublic void setType(java.lang.String type)
The type of the agent status.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
type - The type of the agent status.
AgentStatusTypepublic AgentStatusSummary withType(java.lang.String type)
The type of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
type - The type of the agent status.
AgentStatusTypepublic void setType(AgentStatusType type)
The type of the agent status.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
type - The type of the agent status.
AgentStatusTypepublic AgentStatusSummary withType(AgentStatusType type)
The type of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
type - The type of the agent status.
AgentStatusTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object