@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgentStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAgentStatusRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAgentStatusRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAgentStatusRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAgentStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the status.
|
Integer |
getDisplayOrder()
The display order of the status.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the status.
|
String |
getState()
The state of the status.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the status.
|
void |
setDisplayOrder(Integer displayOrder)
The display order of the status.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the status.
|
void |
setState(String state)
The state of the status.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentStatusRequest |
withDescription(String description)
The description of the status.
|
CreateAgentStatusRequest |
withDisplayOrder(Integer displayOrder)
The display order of the status.
|
CreateAgentStatusRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateAgentStatusRequest |
withName(String name)
The name of the status.
|
CreateAgentStatusRequest |
withState(AgentStatusState state)
The state of the status.
|
CreateAgentStatusRequest |
withState(String state)
The state of the status.
|
CreateAgentStatusRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateAgentStatusRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setName(String name)
The name of the status.
name
- The name of the status.public String getName()
The name of the status.
public CreateAgentStatusRequest withName(String name)
The name of the status.
name
- The name of the status.public void setDescription(String description)
The description of the status.
description
- The description of the status.public String getDescription()
The description of the status.
public CreateAgentStatusRequest withDescription(String description)
The description of the status.
description
- The description of the status.public void setState(String state)
The state of the status.
state
- The state of the status.AgentStatusState
public String getState()
The state of the status.
AgentStatusState
public CreateAgentStatusRequest withState(String state)
The state of the status.
state
- The state of the status.AgentStatusState
public CreateAgentStatusRequest withState(AgentStatusState state)
The state of the status.
state
- The state of the status.AgentStatusState
public void setDisplayOrder(Integer displayOrder)
The display order of the status.
displayOrder
- The display order of the status.public Integer getDisplayOrder()
The display order of the status.
public CreateAgentStatusRequest withDisplayOrder(Integer displayOrder)
The display order of the status.
displayOrder
- The display order of the status.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,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 CreateAgentStatusRequest withTags(Map<String,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 CreateAgentStatusRequest addTagsEntry(String key, String value)
public CreateAgentStatusRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAgentStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()