public class ContactFlowModule
extends java.lang.Object
implements java.io.Serializable
Contains information about a flow module.
| Constructor and Description |
|---|
ContactFlowModule() |
| Modifier and Type | Method and Description |
|---|---|
ContactFlowModule |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
ContactFlowModule |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN).
|
java.lang.String |
getContent()
The content of the flow module.
|
java.lang.String |
getDescription()
The description of the flow module.
|
java.lang.String |
getId()
The identifier of the flow module.
|
java.lang.String |
getName()
The name of the flow module.
|
java.lang.String |
getState()
The type of flow module.
|
java.lang.String |
getStatus()
The status 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 |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN).
|
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 |
setId(java.lang.String id)
The identifier of the flow module.
|
void |
setName(java.lang.String name)
The name of the flow module.
|
void |
setState(ContactFlowModuleState state)
The type of flow module.
|
void |
setState(java.lang.String state)
The type of flow module.
|
void |
setStatus(ContactFlowModuleStatus status)
The status of the flow module.
|
void |
setStatus(java.lang.String status)
The status 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.
|
ContactFlowModule |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN).
|
ContactFlowModule |
withContent(java.lang.String content)
The content of the flow module.
|
ContactFlowModule |
withDescription(java.lang.String description)
The description of the flow module.
|
ContactFlowModule |
withId(java.lang.String id)
The identifier of the flow module.
|
ContactFlowModule |
withName(java.lang.String name)
The name of the flow module.
|
ContactFlowModule |
withState(ContactFlowModuleState state)
The type of flow module.
|
ContactFlowModule |
withState(java.lang.String state)
The type of flow module.
|
ContactFlowModule |
withStatus(ContactFlowModuleStatus status)
The status of the flow module.
|
ContactFlowModule |
withStatus(java.lang.String status)
The status of the flow module.
|
ContactFlowModule |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
public java.lang.String getArn()
The Amazon Resource Name (ARN).
The Amazon Resource Name (ARN).
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN).
arn - The Amazon Resource Name (ARN).
public ContactFlowModule withArn(java.lang.String arn)
The Amazon Resource Name (ARN).
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN).
public java.lang.String getId()
The identifier of the flow module.
Constraints:
Length: 1 - 256
The identifier of the flow module.
public void setId(java.lang.String id)
The identifier of the flow module.
Constraints:
Length: 1 - 256
id - The identifier of the flow module.
public ContactFlowModule withId(java.lang.String id)
The identifier of the flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
id - The identifier of the flow module.
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 ContactFlowModule 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 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 ContactFlowModule 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.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 ContactFlowModule 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 getState()
The type of flow module.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
The type of flow module.
ContactFlowModuleStatepublic void setState(java.lang.String state)
The type of flow module.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow module.
ContactFlowModuleStatepublic ContactFlowModule withState(java.lang.String state)
The type of flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow module.
ContactFlowModuleStatepublic void setState(ContactFlowModuleState state)
The type of flow module.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow module.
ContactFlowModuleStatepublic ContactFlowModule withState(ContactFlowModuleState state)
The type of flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow module.
ContactFlowModuleStatepublic java.lang.String getStatus()
The status of the flow module.
Constraints:
Allowed Values: PUBLISHED, SAVED
The status of the flow module.
ContactFlowModuleStatuspublic void setStatus(java.lang.String status)
The status of the flow module.
Constraints:
Allowed Values: PUBLISHED, SAVED
status - The status of the flow module.
ContactFlowModuleStatuspublic ContactFlowModule withStatus(java.lang.String status)
The status of the flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PUBLISHED, SAVED
status - The status of the flow module.
ContactFlowModuleStatuspublic void setStatus(ContactFlowModuleStatus status)
The status of the flow module.
Constraints:
Allowed Values: PUBLISHED, SAVED
status - The status of the flow module.
ContactFlowModuleStatuspublic ContactFlowModule withStatus(ContactFlowModuleStatus status)
The status of the flow module.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PUBLISHED, SAVED
status - The status of the flow module.
ContactFlowModuleStatuspublic 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 ContactFlowModule 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 ContactFlowModule 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 ContactFlowModule 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