public static interface ConflictException.Builder extends SdkPojo, CopyableBuilder<ConflictException.Builder,ConflictException>, VoiceIdException.Builder
| Modifier and Type | Method and Description |
|---|---|
ConflictException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
ConflictException.Builder |
cause(Throwable cause) |
ConflictException.Builder |
conflictType(ConflictType conflictType)
The type of conflict which caused a ConflictException.
|
ConflictException.Builder |
conflictType(String conflictType)
The type of conflict which caused a ConflictException.
|
ConflictException.Builder |
message(String message) |
ConflictException.Builder |
requestId(String requestId) |
ConflictException.Builder |
statusCode(int statusCode) |
ConflictException.Builder |
writableStackTrace(Boolean writableStackTrace) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, message, writableStackTraceequalsBySdkFields, sdkFieldsConflictException.Builder conflictType(String conflictType)
The type of conflict which caused a ConflictException. Possible types and the corresponding error messages are as follows:
DOMAIN_NOT_ACTIVE: The domain is not active.
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: You cannot change the speaker ID after an enrollment has
been requested.
ENROLLMENT_ALREADY_EXISTS: There is already an enrollment for this session.
SPEAKER_NOT_SET: You must set the speaker ID before requesting an enrollment.
SPEAKER_OPTED_OUT: You cannot request an enrollment for an opted out speaker.
CONCURRENT_CHANGES: The request could not be processed as the resource was modified by another
request during execution.
conflictType - The type of conflict which caused a ConflictException. Possible types and the corresponding error
messages are as follows:
DOMAIN_NOT_ACTIVE: The domain is not active.
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: You cannot change the speaker ID after an
enrollment has been requested.
ENROLLMENT_ALREADY_EXISTS: There is already an enrollment for this session.
SPEAKER_NOT_SET: You must set the speaker ID before requesting an enrollment.
SPEAKER_OPTED_OUT: You cannot request an enrollment for an opted out speaker.
CONCURRENT_CHANGES: The request could not be processed as the resource was modified by
another request during execution.
ConflictType,
ConflictTypeConflictException.Builder conflictType(ConflictType conflictType)
The type of conflict which caused a ConflictException. Possible types and the corresponding error messages are as follows:
DOMAIN_NOT_ACTIVE: The domain is not active.
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: You cannot change the speaker ID after an enrollment has
been requested.
ENROLLMENT_ALREADY_EXISTS: There is already an enrollment for this session.
SPEAKER_NOT_SET: You must set the speaker ID before requesting an enrollment.
SPEAKER_OPTED_OUT: You cannot request an enrollment for an opted out speaker.
CONCURRENT_CHANGES: The request could not be processed as the resource was modified by another
request during execution.
conflictType - The type of conflict which caused a ConflictException. Possible types and the corresponding error
messages are as follows:
DOMAIN_NOT_ACTIVE: The domain is not active.
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: You cannot change the speaker ID after an
enrollment has been requested.
ENROLLMENT_ALREADY_EXISTS: There is already an enrollment for this session.
SPEAKER_NOT_SET: You must set the speaker ID before requesting an enrollment.
SPEAKER_OPTED_OUT: You cannot request an enrollment for an opted out speaker.
CONCURRENT_CHANGES: The request could not be processed as the resource was modified by
another request during execution.
ConflictType,
ConflictTypeConflictException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface VoiceIdException.BuilderConflictException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage in interface VoiceIdException.BuilderConflictException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface SdkServiceException.BuilderrequestId in interface VoiceIdException.BuilderConflictException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode in interface VoiceIdException.BuilderConflictException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause in interface VoiceIdException.BuilderConflictException.Builder writableStackTrace(Boolean writableStackTrace)
writableStackTrace in interface SdkException.BuilderwritableStackTrace in interface SdkServiceException.BuilderwritableStackTrace in interface VoiceIdException.BuilderCopyright © 2023. All rights reserved.