public class CreateContactFlowModuleRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates a flow module for the specified Amazon Connect instance.
| Constructor and Description |
|---|
CreateContactFlowModuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateContactFlowModuleRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateContactFlowModuleRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
java.lang.String |
getContent()
The content of the flow module.
|
java.lang.String |
getDescription()
The description of the flow module.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the flow module.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setContent(java.lang.String content)
The content of the flow module.
|
void |
setDescription(java.lang.String description)
The description of the flow module.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the flow module.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateContactFlowModuleRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
CreateContactFlowModuleRequest |
withContent(java.lang.String content)
The content of the flow module.
|
CreateContactFlowModuleRequest |
withDescription(java.lang.String description)
The description of the flow module.
|
CreateContactFlowModuleRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateContactFlowModuleRequest |
withName(java.lang.String name)
The name of the flow module.
|
CreateContactFlowModuleRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateContactFlowModuleRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getName()
The name of the flow module.
Constraints:
Length: 1 - 127
Pattern: .*\S.*
The name of the flow module.
public void setName(java.lang.String name)
The name of the flow module.
Constraints:
Length: 1 - 127
Pattern: .*\S.*
name - The name of the flow module.
public CreateContactFlowModuleRequest withName(java.lang.String name)
The name of the flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
Pattern: .*\S.*
name - The name of the flow module.
public java.lang.String getDescription()
The description of the flow module.
Constraints:
Length: 0 - 500
Pattern: .*\S.*
The description of the flow module.
public void setDescription(java.lang.String description)
The description of the flow module.
Constraints:
Length: 0 - 500
Pattern: .*\S.*
description - The description of the flow module.
public CreateContactFlowModuleRequest withDescription(java.lang.String description)
The description of the flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 500
Pattern: .*\S.*
description - The description of the flow module.
public java.lang.String getContent()
The content of the flow module.
Constraints:
Length: 1 - 256000
The content of the flow module.
public void setContent(java.lang.String content)
The content of the flow module.
Constraints:
Length: 1 - 256000
content - The content of the flow module.
public CreateContactFlowModuleRequest withContent(java.lang.String content)
The content of the flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256000
content - The content of the flow module.
public 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 CreateContactFlowModuleRequest 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 CreateContactFlowModuleRequest 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 CreateContactFlowModuleRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public CreateContactFlowModuleRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
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