/* * 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.finspacedata.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The structure with error messages. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DataViewErrorInfo implements Serializable, Cloneable, StructuredPojo { /** ** The text of the error message. *
*/ private String errorMessage; /** ** The category of the error. *
*
     * VALIDATION – The inputs to this request are invalid.
     * 
     * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase
     * quotas.
     * 
     * ACCESS_DENIED – Missing required permission to perform this request.
     * 
     * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     * 
     * THROTTLING – The system temporarily lacks sufficient resources to process the request.
     * 
     * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     * 
     * CANCELLED – Cancelled.
     * 
     * USER_RECOVERABLE – A user recoverable error has occurred.
     * 
* The text of the error message. *
* * @param errorMessage * The text of the error message. */ public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } /** ** The text of the error message. *
* * @return The text of the error message. */ public String getErrorMessage() { return this.errorMessage; } /** ** The text of the error message. *
* * @param errorMessage * The text of the error message. * @return Returns a reference to this object so that method calls can be chained together. */ public DataViewErrorInfo withErrorMessage(String errorMessage) { setErrorMessage(errorMessage); return this; } /** ** The category of the error. *
*
     * VALIDATION – The inputs to this request are invalid.
     * 
     * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase
     * quotas.
     * 
     * ACCESS_DENIED – Missing required permission to perform this request.
     * 
     * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     * 
     * THROTTLING – The system temporarily lacks sufficient resources to process the request.
     * 
     * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     * 
     * CANCELLED – Cancelled.
     * 
     * USER_RECOVERABLE – A user recoverable error has occurred.
     * 
     *        VALIDATION – The inputs to this request are invalid.
     *        
     *        SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to
     *        increase quotas.
     *        
     *        ACCESS_DENIED – Missing required permission to perform this request.
     *        
     *        RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     *        
     *        THROTTLING – The system temporarily lacks sufficient resources to process the request.
     *        
     *        INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     *        
     *        CANCELLED – Cancelled.
     *        
     *        USER_RECOVERABLE – A user recoverable error has occurred.
     *        
* The category of the error. *
*
     * VALIDATION – The inputs to this request are invalid.
     * 
     * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase
     * quotas.
     * 
     * ACCESS_DENIED – Missing required permission to perform this request.
     * 
     * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     * 
     * THROTTLING – The system temporarily lacks sufficient resources to process the request.
     * 
     * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     * 
     * CANCELLED – Cancelled.
     * 
     * USER_RECOVERABLE – A user recoverable error has occurred.
     * 
     *         VALIDATION – The inputs to this request are invalid.
     *         
     *         SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to
     *         increase quotas.
     *         
     *         ACCESS_DENIED – Missing required permission to perform this request.
     *         
     *         RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     *         
     *         THROTTLING – The system temporarily lacks sufficient resources to process the request.
     *         
     *         INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     *         
     *         CANCELLED – Cancelled.
     *         
     *         USER_RECOVERABLE – A user recoverable error has occurred.
     *         
* The category of the error. *
*
     * VALIDATION – The inputs to this request are invalid.
     * 
     * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase
     * quotas.
     * 
     * ACCESS_DENIED – Missing required permission to perform this request.
     * 
     * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     * 
     * THROTTLING – The system temporarily lacks sufficient resources to process the request.
     * 
     * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     * 
     * CANCELLED – Cancelled.
     * 
     * USER_RECOVERABLE – A user recoverable error has occurred.
     * 
     *        VALIDATION – The inputs to this request are invalid.
     *        
     *        SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to
     *        increase quotas.
     *        
     *        ACCESS_DENIED – Missing required permission to perform this request.
     *        
     *        RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     *        
     *        THROTTLING – The system temporarily lacks sufficient resources to process the request.
     *        
     *        INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     *        
     *        CANCELLED – Cancelled.
     *        
     *        USER_RECOVERABLE – A user recoverable error has occurred.
     *        
* The category of the error. *
*
     * VALIDATION – The inputs to this request are invalid.
     * 
     * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase
     * quotas.
     * 
     * ACCESS_DENIED – Missing required permission to perform this request.
     * 
     * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     * 
     * THROTTLING – The system temporarily lacks sufficient resources to process the request.
     * 
     * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     * 
     * CANCELLED – Cancelled.
     * 
     * USER_RECOVERABLE – A user recoverable error has occurred.
     * 
     *        VALIDATION – The inputs to this request are invalid.
     *        
     *        SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to
     *        increase quotas.
     *        
     *        ACCESS_DENIED – Missing required permission to perform this request.
     *        
     *        RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
     *        
     *        THROTTLING – The system temporarily lacks sufficient resources to process the request.
     *        
     *        INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
     *        
     *        CANCELLED – Cancelled.
     *        
     *        USER_RECOVERABLE – A user recoverable error has occurred.
     *