@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePromptRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePromptRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePromptRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreatePromptRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreatePromptRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the prompt.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the prompt.
|
String |
getS3Uri()
The URI for the S3 bucket where the prompt is stored.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the prompt.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the prompt.
|
void |
setS3Uri(String s3Uri)
The URI for the S3 bucket where the prompt is stored.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreatePromptRequest |
withDescription(String description)
The description of the prompt.
|
CreatePromptRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreatePromptRequest |
withName(String name)
The name of the prompt.
|
CreatePromptRequest |
withS3Uri(String s3Uri)
The URI for the S3 bucket where the prompt is stored.
|
CreatePromptRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
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, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreatePromptRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.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 CreatePromptRequest withName(String name)
The name of the prompt.
name
- The name of the prompt.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 CreatePromptRequest withDescription(String description)
The description of the prompt.
description
- The description of the prompt.public void setS3Uri(String s3Uri)
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
s3Uri
- The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the
GetPromptFile
API instead of providing S3 URIs.public String getS3Uri()
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
public CreatePromptRequest withS3Uri(String s3Uri)
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
s3Uri
- The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the
GetPromptFile
API instead of providing S3 URIs.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public CreatePromptRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public CreatePromptRequest addTagsEntry(String key, String value)
public CreatePromptRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePromptRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()