All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.identitystore.model.ValidationException Maven / Gradle / Ivy

/*
 * Copyright 2016-2021 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.identitystore.model;

import javax.annotation.Generated;

/**
 * 

* The request failed because it contains a syntax error. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ValidationException extends com.amazonaws.services.identitystore.model.AWSIdentityStoreException { private static final long serialVersionUID = 1L; /** *

* The identifier for each request. This value is a globally unique ID that is generated by the Identity Store * service for each sent request, and is then returned inside the exception if the request fails. *

*/ private String requestId; /** * Constructs a new ValidationException with the specified error message. * * @param message * Describes the error encountered. */ public ValidationException(String message) { super(message); } /** *

* The identifier for each request. This value is a globally unique ID that is generated by the Identity Store * service for each sent request, and is then returned inside the exception if the request fails. *

* * @param requestId * The identifier for each request. This value is a globally unique ID that is generated by the Identity * Store service for each sent request, and is then returned inside the exception if the request fails. */ @com.fasterxml.jackson.annotation.JsonProperty("RequestId") public void setRequestId(String requestId) { this.requestId = requestId; } /** *

* The identifier for each request. This value is a globally unique ID that is generated by the Identity Store * service for each sent request, and is then returned inside the exception if the request fails. *

* * @return The identifier for each request. This value is a globally unique ID that is generated by the Identity * Store service for each sent request, and is then returned inside the exception if the request fails. */ @com.fasterxml.jackson.annotation.JsonProperty("RequestId") public String getRequestId() { return this.requestId; } /** *

* The identifier for each request. This value is a globally unique ID that is generated by the Identity Store * service for each sent request, and is then returned inside the exception if the request fails. *

* * @param requestId * The identifier for each request. This value is a globally unique ID that is generated by the Identity * Store service for each sent request, and is then returned inside the exception if the request fails. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidationException withRequestId(String requestId) { setRequestId(requestId); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy