public class UpdatePromptRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Updates a prompt.
| Constructor and Description |
|---|
UpdatePromptRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description of the prompt.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the prompt.
|
java.lang.String |
getPromptId()
A unique identifier for the prompt.
|
java.lang.String |
getS3Uri()
The URI for the S3 bucket where the prompt is stored.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description of the prompt.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the prompt.
|
void |
setPromptId(java.lang.String promptId)
A unique identifier for the prompt.
|
void |
setS3Uri(java.lang.String s3Uri)
The URI for the S3 bucket where the prompt is stored.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdatePromptRequest |
withDescription(java.lang.String description)
A description of the prompt.
|
UpdatePromptRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdatePromptRequest |
withName(java.lang.String name)
The name of the prompt.
|
UpdatePromptRequest |
withPromptId(java.lang.String promptId)
A unique identifier for the prompt.
|
UpdatePromptRequest |
withS3Uri(java.lang.String s3Uri)
The URI for the S3 bucket where the prompt is stored.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public UpdatePromptRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getPromptId()
A unique identifier for the prompt.
Constraints:
Length: 1 - 256
A unique identifier for the prompt.
public void setPromptId(java.lang.String promptId)
A unique identifier for the prompt.
Constraints:
Length: 1 - 256
promptId - A unique identifier for the prompt.
public UpdatePromptRequest withPromptId(java.lang.String promptId)
A unique identifier for the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
promptId - A unique identifier for the prompt.
public java.lang.String getName()
The name of the prompt.
Constraints:
Length: 1 - 127
The name of the prompt.
public void setName(java.lang.String name)
The name of the prompt.
Constraints:
Length: 1 - 127
name - The name of the prompt.
public UpdatePromptRequest withName(java.lang.String name)
The name of the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the prompt.
public java.lang.String getDescription()
A description of the prompt.
Constraints:
Length: 1 - 250
A description of the prompt.
public void setDescription(java.lang.String description)
A description of the prompt.
Constraints:
Length: 1 - 250
description - A description of the prompt.
public UpdatePromptRequest withDescription(java.lang.String description)
A description of the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - A description of the prompt.
public java.lang.String getS3Uri()
The URI for the S3 bucket where the prompt is stored.
Constraints:
Length: 1 - 512
Pattern: s3://\S+/.+
The URI for the S3 bucket where the prompt is stored.
public void setS3Uri(java.lang.String s3Uri)
The URI for the S3 bucket where the prompt is stored.
Constraints:
Length: 1 - 512
Pattern: s3://\S+/.+
s3Uri - The URI for the S3 bucket where the prompt is stored.
public UpdatePromptRequest withS3Uri(java.lang.String s3Uri)
The URI for the S3 bucket where the prompt is stored.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: s3://\S+/.+
s3Uri - The URI for the S3 bucket where the prompt is stored.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object