Class AssociateDefaultVocabularyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.connect.model.ConnectRequest
-
- software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateDefaultVocabularyRequest.Builder,AssociateDefaultVocabularyRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateDefaultVocabularyRequest extends ConnectRequest implements ToCopyableBuilder<AssociateDefaultVocabularyRequest.Builder,AssociateDefaultVocabularyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateDefaultVocabularyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateDefaultVocabularyRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The identifier of the Amazon Connect instance.VocabularyLanguageCodelanguageCode()The language code of the vocabulary entries.StringlanguageCodeAsString()The language code of the vocabulary entries.List<SdkField<?>>sdkFields()static Class<? extends AssociateDefaultVocabularyRequest.Builder>serializableBuilderClass()AssociateDefaultVocabularyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvocabularyId()The identifier of the custom vocabulary.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceId
public final 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:
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
languageCode
public final VocabularyLanguageCode languageCode()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnVocabularyLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- See Also:
VocabularyLanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnVocabularyLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- See Also:
VocabularyLanguageCode
-
vocabularyId
public final String vocabularyId()
The identifier of the custom vocabulary. If this is empty, the default is set to none.
- Returns:
- The identifier of the custom vocabulary. If this is empty, the default is set to none.
-
toBuilder
public AssociateDefaultVocabularyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateDefaultVocabularyRequest.Builder,AssociateDefaultVocabularyRequest>- Specified by:
toBuilderin classConnectRequest
-
builder
public static AssociateDefaultVocabularyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateDefaultVocabularyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-