@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePromptResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePromptResult() |
Modifier and Type | Method and Description |
---|---|
CreatePromptResult |
clone() |
boolean |
equals(Object obj) |
String |
getPromptARN()
The Amazon Resource Name (ARN) of the prompt.
|
String |
getPromptId()
A unique identifier for the prompt.
|
int |
hashCode() |
void |
setPromptARN(String promptARN)
The Amazon Resource Name (ARN) of the prompt.
|
void |
setPromptId(String promptId)
A unique identifier for the prompt.
|
String |
toString()
Returns a string representation of this object.
|
CreatePromptResult |
withPromptARN(String promptARN)
The Amazon Resource Name (ARN) of the prompt.
|
CreatePromptResult |
withPromptId(String promptId)
A unique identifier for the prompt.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreatePromptResult 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 CreatePromptResult withPromptId(String promptId)
A unique identifier for the prompt.
promptId
- A unique identifier for the prompt.public String toString()
toString
in class Object
Object.toString()
public CreatePromptResult clone()