@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the prompt.
Constructor and Description |
---|
PromptSummary() |
Modifier and Type | Method and Description |
---|---|
PromptSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the prompt.
|
String |
getId()
The identifier 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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the prompt.
|
void |
setId(String id)
The identifier 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.
|
String |
toString()
Returns a string representation of this object.
|
PromptSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the prompt.
|
PromptSummary |
withId(String id)
The identifier of the prompt.
|
PromptSummary |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
PromptSummary |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
PromptSummary |
withName(String name)
The name of the prompt.
|
public void setId(String id)
The identifier of the prompt.
id
- The identifier of the prompt.public String getId()
The identifier of the prompt.
public PromptSummary withId(String id)
The identifier of the prompt.
id
- The identifier of the prompt.public void setArn(String arn)
The Amazon Resource Name (ARN) of the prompt.
arn
- The Amazon Resource Name (ARN) of the prompt.public String getArn()
The Amazon Resource Name (ARN) of the prompt.
public PromptSummary withArn(String arn)
The Amazon Resource Name (ARN) of the prompt.
arn
- The Amazon Resource Name (ARN) of 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 PromptSummary withName(String name)
The name of the prompt.
name
- The name of the prompt.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 PromptSummary 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 PromptSummary 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 PromptSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.