public class AgentStatus
extends java.lang.Object
implements java.io.Serializable
Contains information about an agent status.
| Constructor and Description |
|---|
AgentStatus() |
| Modifier and Type | Method and Description |
|---|---|
AgentStatus |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
AgentStatus |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentStatusARN()
The Amazon Resource Name (ARN) of the agent status.
|
java.lang.String |
getAgentStatusId()
The identifier of the agent status.
|
java.lang.String |
getDescription()
The description of the agent status.
|
java.lang.Integer |
getDisplayOrder()
The display order of the agent status.
|
java.lang.String |
getName()
The name of the agent status.
|
java.lang.String |
getState()
The state of the agent status.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getType()
The type of agent status.
|
int |
hashCode() |
void |
setAgentStatusARN(java.lang.String agentStatusARN)
The Amazon Resource Name (ARN) of the agent status.
|
void |
setAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
|
void |
setDescription(java.lang.String description)
The description of the agent status.
|
void |
setDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
|
void |
setName(java.lang.String name)
The name of the agent status.
|
void |
setState(AgentStatusState state)
The state of the agent status.
|
void |
setState(java.lang.String state)
The state of the agent status.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setType(AgentStatusType type)
The type of agent status.
|
void |
setType(java.lang.String type)
The type of agent status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentStatus |
withAgentStatusARN(java.lang.String agentStatusARN)
The Amazon Resource Name (ARN) of the agent status.
|
AgentStatus |
withAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
|
AgentStatus |
withDescription(java.lang.String description)
The description of the agent status.
|
AgentStatus |
withDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
|
AgentStatus |
withName(java.lang.String name)
The name of the agent status.
|
AgentStatus |
withState(AgentStatusState state)
The state of the agent status.
|
AgentStatus |
withState(java.lang.String state)
The state of the agent status.
|
AgentStatus |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
AgentStatus |
withType(AgentStatusType type)
The type of agent status.
|
AgentStatus |
withType(java.lang.String type)
The type of agent status.
|
public java.lang.String getAgentStatusARN()
The Amazon Resource Name (ARN) of the agent status.
The Amazon Resource Name (ARN) of the agent status.
public void setAgentStatusARN(java.lang.String agentStatusARN)
The Amazon Resource Name (ARN) of the agent status.
agentStatusARN - The Amazon Resource Name (ARN) of the agent status.
public AgentStatus withAgentStatusARN(java.lang.String agentStatusARN)
The Amazon Resource Name (ARN) of the agent status.
Returns a reference to this object so that method calls can be chained together.
agentStatusARN - The Amazon Resource Name (ARN) of the agent status.
public java.lang.String getAgentStatusId()
The identifier of the agent status.
The identifier of the agent status.
public void setAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
agentStatusId - The identifier of the agent status.
public AgentStatus withAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
Returns a reference to this object so that method calls can be chained together.
agentStatusId - The identifier of 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 AgentStatus 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 getDescription()
The description of the agent status.
Constraints:
Length: 1 - 250
The description of the agent status.
public void setDescription(java.lang.String description)
The description of the agent status.
Constraints:
Length: 1 - 250
description - The description of the agent status.
public AgentStatus withDescription(java.lang.String description)
The description of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - The description of the agent status.
public java.lang.String getType()
The type of agent status.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
The type of agent status.
AgentStatusTypepublic void setType(java.lang.String type)
The type of agent status.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
type - The type of agent status.
AgentStatusTypepublic AgentStatus withType(java.lang.String type)
The type of 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 agent status.
AgentStatusTypepublic void setType(AgentStatusType type)
The type of agent status.
Constraints:
Allowed Values: ROUTABLE, CUSTOM, OFFLINE
type - The type of agent status.
AgentStatusTypepublic AgentStatus withType(AgentStatusType type)
The type of 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 agent status.
AgentStatusTypepublic java.lang.Integer getDisplayOrder()
The display order of the agent status.
Constraints:
Range: 1 - 50
The display order of the agent status.
public void setDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
Constraints:
Range: 1 - 50
displayOrder - The display order of the agent status.
public AgentStatus withDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
displayOrder - The display order of the agent status.
public java.lang.String getState()
The state of the agent status.
Constraints:
Allowed Values: ENABLED, DISABLED
The state of the agent status.
AgentStatusStatepublic void setState(java.lang.String state)
The state of the agent status.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic AgentStatus withState(java.lang.String state)
The state of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic void setState(AgentStatusState state)
The state of the agent status.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic AgentStatus withState(AgentStatusState state)
The state of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public AgentStatus withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public AgentStatus addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public AgentStatus clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public 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