/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.voiceid.model; import javax.annotation.Generated; /** *
 * The request failed due to a conflict. Check the ConflictType and error message for more details.
 * 
* 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.
     * 
* 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.
     * 
     *        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.
     *        
* 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.
     * 
     *         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.
     *         
* 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.
     * 
     *        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.
     *        
* 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.
     * 
     *        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.
     *