@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a prompt in your Prompt management tool.
This data type is used in the following API operations:
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.
|
Date |
getCreatedAt()
The time at which the prompt was created.
|
String |
getDescription()
The description of the prompt.
|
String |
getId()
The unique identifier of the prompt.
|
String |
getName()
The name of the prompt.
|
Date |
getUpdatedAt()
The time at which the prompt was last updated.
|
String |
getVersion()
The version of the prompt that this summary applies to.
|
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 |
setCreatedAt(Date createdAt)
The time at which the prompt was created.
|
void |
setDescription(String description)
The description of the prompt.
|
void |
setId(String id)
The unique identifier of the prompt.
|
void |
setName(String name)
The name of the prompt.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the prompt was last updated.
|
void |
setVersion(String version)
The version of the prompt that this summary applies to.
|
String |
toString()
Returns a string representation of this object.
|
PromptSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the prompt.
|
PromptSummary |
withCreatedAt(Date createdAt)
The time at which the prompt was created.
|
PromptSummary |
withDescription(String description)
The description of the prompt.
|
PromptSummary |
withId(String id)
The unique identifier of the prompt.
|
PromptSummary |
withName(String name)
The name of the prompt.
|
PromptSummary |
withUpdatedAt(Date updatedAt)
The time at which the prompt was last updated.
|
PromptSummary |
withVersion(String version)
The version of the prompt that this summary applies to.
|
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 setCreatedAt(Date createdAt)
The time at which the prompt was created.
createdAt
- The time at which the prompt was created.public Date getCreatedAt()
The time at which the prompt was created.
public PromptSummary withCreatedAt(Date createdAt)
The time at which the prompt was created.
createdAt
- The time at which the prompt was created.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 PromptSummary withDescription(String description)
The description of the prompt.
description
- The description of the prompt.public void setId(String id)
The unique identifier of the prompt.
id
- The unique identifier of the prompt.public String getId()
The unique identifier of the prompt.
public PromptSummary withId(String id)
The unique identifier of the prompt.
id
- The unique identifier 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 setUpdatedAt(Date updatedAt)
The time at which the prompt was last updated.
updatedAt
- The time at which the prompt was last updated.public Date getUpdatedAt()
The time at which the prompt was last updated.
public PromptSummary withUpdatedAt(Date updatedAt)
The time at which the prompt was last updated.
updatedAt
- The time at which the prompt was last updated.public void setVersion(String version)
The version of the prompt that this summary applies to.
version
- The version of the prompt that this summary applies to.public String getVersion()
The version of the prompt that this summary applies to.
public PromptSummary withVersion(String version)
The version of the prompt that this summary applies to.
version
- The version of the prompt that this summary applies to.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.