@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVocabularyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVocabularyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVocabularyRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateVocabularyRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateVocabularyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getContent()
The content of the custom vocabulary in plain-text format with a table of values.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getLanguageCode()
The language code of the vocabulary entries.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getVocabularyName()
A unique name of the custom vocabulary.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setContent(String content)
The content of the custom vocabulary in plain-text format with a table of values.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setVocabularyName(String vocabularyName)
A unique name of the custom vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
CreateVocabularyRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateVocabularyRequest |
withContent(String content)
The content of the custom vocabulary in plain-text format with a table of values.
|
CreateVocabularyRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateVocabularyRequest |
withLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyRequest |
withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
CreateVocabularyRequest |
withVocabularyName(String vocabularyName)
A unique name of the custom vocabulary.
|
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 setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs. If a create request is received more than once with same client token,
subsequent requests return the previous response without creating a vocabulary again.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
public CreateVocabularyRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs. If a create request is received more than once with same client token,
subsequent requests return the previous response without creating a vocabulary again.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 CreateVocabularyRequest 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 setVocabularyName(String vocabularyName)
A unique name of the custom vocabulary.
vocabularyName
- A unique name of the custom vocabulary.public String getVocabularyName()
A unique name of the custom vocabulary.
public CreateVocabularyRequest withVocabularyName(String vocabularyName)
A unique name of the custom vocabulary.
vocabularyName
- A unique name of the custom vocabulary.public void setLanguageCode(String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
languageCode
- The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see What is
Amazon Transcribe?VocabularyLanguageCode
public String getLanguageCode()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCode
public CreateVocabularyRequest withLanguageCode(String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
languageCode
- The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see What is
Amazon Transcribe?VocabularyLanguageCode
public CreateVocabularyRequest withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
languageCode
- The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see What is
Amazon Transcribe?VocabularyLanguageCode
public void setContent(String content)
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and
DisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more
information, see Create a
custom vocabulary using a table.
content
- The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
,
SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. The
size limit is 50KB. For more information, see Create a custom vocabulary using a table.public String getContent()
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and
DisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more
information, see Create a
custom vocabulary using a table.
Phrase
, IPA
,
SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. The
size limit is 50KB. For more information, see Create a custom vocabulary using a table.public CreateVocabularyRequest withContent(String content)
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and
DisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more
information, see Create a
custom vocabulary using a table.
content
- The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
,
SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. The
size limit is 50KB. For more information, see Create a custom vocabulary using a table.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 CreateVocabularyRequest 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 CreateVocabularyRequest addTagsEntry(String key, String value)
public CreateVocabularyRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateVocabularyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()