public class Prompt
extends java.lang.Object
implements java.io.Serializable
Information about a prompt.
| Constructor and Description |
|---|
Prompt() |
| Modifier and Type | Method and Description |
|---|---|
Prompt |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
Prompt |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the prompt.
|
java.lang.String |
getName()
The name of the prompt.
|
java.lang.String |
getPromptARN()
The Amazon Resource Name (ARN) of the prompt.
|
java.lang.String |
getPromptId()
A unique identifier for the prompt.
|
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 |
setDescription(java.lang.String description)
The description of the prompt.
|
void |
setName(java.lang.String name)
The name of the prompt.
|
void |
setPromptARN(java.lang.String promptARN)
The Amazon Resource Name (ARN) of the prompt.
|
void |
setPromptId(java.lang.String promptId)
A unique identifier for the prompt.
|
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.
|
Prompt |
withDescription(java.lang.String description)
The description of the prompt.
|
Prompt |
withName(java.lang.String name)
The name of the prompt.
|
Prompt |
withPromptARN(java.lang.String promptARN)
The Amazon Resource Name (ARN) of the prompt.
|
Prompt |
withPromptId(java.lang.String promptId)
A unique identifier for the prompt.
|
Prompt |
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 getPromptARN()
The Amazon Resource Name (ARN) of the prompt.
The Amazon Resource Name (ARN) of the prompt.
public void setPromptARN(java.lang.String promptARN)
The Amazon Resource Name (ARN) of the prompt.
promptARN - The Amazon Resource Name (ARN) of the prompt.
public Prompt withPromptARN(java.lang.String promptARN)
The Amazon Resource Name (ARN) of the prompt.
Returns a reference to this object so that method calls can be chained together.
promptARN - The Amazon Resource Name (ARN) of the prompt.
public java.lang.String getPromptId()
A unique identifier for the prompt.
Constraints:
Length: 1 - 256
A unique identifier for the prompt.
public void setPromptId(java.lang.String promptId)
A unique identifier for the prompt.
Constraints:
Length: 1 - 256
promptId - A unique identifier for the prompt.
public Prompt withPromptId(java.lang.String promptId)
A unique identifier for the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
promptId - A unique identifier for the prompt.
public java.lang.String getName()
The name of the prompt.
Constraints:
Length: 1 - 127
The name of the prompt.
public void setName(java.lang.String name)
The name of the prompt.
Constraints:
Length: 1 - 127
name - The name of the prompt.
public Prompt withName(java.lang.String name)
The name of the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the prompt.
public java.lang.String getDescription()
The description of the prompt.
Constraints:
Length: 1 - 250
The description of the prompt.
public void setDescription(java.lang.String description)
The description of the prompt.
Constraints:
Length: 1 - 250
description - The description of the prompt.
public Prompt withDescription(java.lang.String description)
The description of the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - The description of the prompt.
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 Prompt 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 Prompt 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 Prompt 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