@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 |
getName()
The name of the prompt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the prompt.
|
void |
setId(String id)
The identifier of the prompt.
|
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 |
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 String toString()
toString in class ObjectObject.toString()public PromptSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.