@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePromptRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdatePromptRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdatePromptRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getCustomerEncryptionKeyArn()
 The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. | 
| String | getDefaultVariant()
 The name of the default variant for the prompt. | 
| String | getDescription()
 A description for the prompt. | 
| String | getName()
 A name for the prompt. | 
| String | getPromptIdentifier()
 The unique identifier of the prompt. | 
| List<PromptVariant> | getVariants()
 A list of objects, each containing details about a variant of the prompt. | 
| int | hashCode() | 
| void | setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
 The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. | 
| void | setDefaultVariant(String defaultVariant)
 The name of the default variant for the prompt. | 
| void | setDescription(String description)
 A description for the prompt. | 
| void | setName(String name)
 A name for the prompt. | 
| void | setPromptIdentifier(String promptIdentifier)
 The unique identifier of the prompt. | 
| void | setVariants(Collection<PromptVariant> variants)
 A list of objects, each containing details about a variant of the prompt. | 
| String | toString()Returns a string representation of this object. | 
| UpdatePromptRequest | withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
 The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. | 
| UpdatePromptRequest | withDefaultVariant(String defaultVariant)
 The name of the default variant for the prompt. | 
| UpdatePromptRequest | withDescription(String description)
 A description for the prompt. | 
| UpdatePromptRequest | withName(String name)
 A name for the prompt. | 
| UpdatePromptRequest | withPromptIdentifier(String promptIdentifier)
 The unique identifier of the prompt. | 
| UpdatePromptRequest | withVariants(Collection<PromptVariant> variants)
 A list of objects, each containing details about a variant of the prompt. | 
| UpdatePromptRequest | withVariants(PromptVariant... variants)
 A list of objects, each containing details about a variant of the prompt. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
customerEncryptionKeyArn - The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.public String getCustomerEncryptionKeyArn()
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
public UpdatePromptRequest withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
customerEncryptionKeyArn - The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.public void setDefaultVariant(String defaultVariant)
 The name of the default variant for the prompt. This value must match the name field in the relevant
 PromptVariant
 object.
 
defaultVariant - The name of the default variant for the prompt. This value must match the name field in the
        relevant 
        PromptVariant object.public String getDefaultVariant()
 The name of the default variant for the prompt. This value must match the name field in the relevant
 PromptVariant
 object.
 
name field in the
         relevant 
         PromptVariant object.public UpdatePromptRequest withDefaultVariant(String defaultVariant)
 The name of the default variant for the prompt. This value must match the name field in the relevant
 PromptVariant
 object.
 
defaultVariant - The name of the default variant for the prompt. This value must match the name field in the
        relevant 
        PromptVariant object.public void setDescription(String description)
A description for the prompt.
description - A description for the prompt.public String getDescription()
A description for the prompt.
public UpdatePromptRequest withDescription(String description)
A description for the prompt.
description - A description for the prompt.public void setName(String name)
A name for the prompt.
name - A name for the prompt.public String getName()
A name for the prompt.
public UpdatePromptRequest withName(String name)
A name for the prompt.
name - A name for the prompt.public void setPromptIdentifier(String promptIdentifier)
The unique identifier of the prompt.
promptIdentifier - The unique identifier of the prompt.public String getPromptIdentifier()
The unique identifier of the prompt.
public UpdatePromptRequest withPromptIdentifier(String promptIdentifier)
The unique identifier of the prompt.
promptIdentifier - The unique identifier of the prompt.public List<PromptVariant> getVariants()
A list of objects, each containing details about a variant of the prompt.
public void setVariants(Collection<PromptVariant> variants)
A list of objects, each containing details about a variant of the prompt.
variants - A list of objects, each containing details about a variant of the prompt.public UpdatePromptRequest withVariants(PromptVariant... variants)
A list of objects, each containing details about a variant of the prompt.
 NOTE: This method appends the values to the existing list (if any). Use
 setVariants(java.util.Collection) or withVariants(java.util.Collection) if you want to override
 the existing values.
 
variants - A list of objects, each containing details about a variant of the prompt.public UpdatePromptRequest withVariants(Collection<PromptVariant> variants)
A list of objects, each containing details about a variant of the prompt.
variants - A list of objects, each containing details about a variant of the prompt.public String toString()
toString in class ObjectObject.toString()public UpdatePromptRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()