@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Prompt extends Object implements Serializable, Cloneable, StructuredPojo
Information about a prompt.
Constructor and Description |
---|
Prompt() |
Modifier and Type | Method and Description |
---|---|
Prompt |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Prompt |
clearTagsEntries()
Removes all the entries added into Tags.
|
Prompt |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the prompt.
|
String |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
String |
getName()
The name of the prompt.
|
String |
getPromptARN()
The Amazon Resource Name (ARN) of the prompt.
|
String |
getPromptId()
A unique identifier for the prompt.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the prompt.
|
void |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
void |
setName(String name)
The name of the prompt.
|
void |
setPromptARN(String promptARN)
The Amazon Resource Name (ARN) of the prompt.
|
void |
setPromptId(String promptId)
A unique identifier for the prompt.
|
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.
|
Prompt |
withDescription(String description)
The description of the prompt.
|
Prompt |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
Prompt |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
Prompt |
withName(String name)
The name of the prompt.
|
Prompt |
withPromptARN(String promptARN)
The Amazon Resource Name (ARN) of the prompt.
|
Prompt |
withPromptId(String promptId)
A unique identifier for the prompt.
|
Prompt |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
public void setPromptARN(String promptARN)
The Amazon Resource Name (ARN) of the prompt.
promptARN
- The Amazon Resource Name (ARN) of the prompt.public String getPromptARN()
The Amazon Resource Name (ARN) of the prompt.
public Prompt withPromptARN(String promptARN)
The Amazon Resource Name (ARN) of the prompt.
promptARN
- The Amazon Resource Name (ARN) of the prompt.public void setPromptId(String promptId)
A unique identifier for the prompt.
promptId
- A unique identifier for the prompt.public String getPromptId()
A unique identifier for the prompt.
public Prompt withPromptId(String promptId)
A unique identifier for the prompt.
promptId
- A unique identifier for the prompt.public void setName(String name)
The name of the prompt.
name
- The name of the prompt.public String getName()
The name of the prompt.
public Prompt withName(String name)
The name of the prompt.
name
- The name of the prompt.public void setDescription(String description)
The description of the prompt.
description
- The description of the prompt.public String getDescription()
The description of the prompt.
public Prompt withDescription(String description)
The description of the prompt.
description
- The description of the prompt.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 Prompt 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 Prompt clearTagsEntries()
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public Prompt withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public Prompt withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.