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

com.amazonaws.services.neptunedata.model.S3Exception Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon NeptuneData module holds the client classes that are used for communicating with Amazon NeptuneData Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 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.neptunedata.model;

import javax.annotation.Generated;

/**
 * 

* Raised when there is a problem accessing Amazon S3. *

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

* A detailed message describing the problem. *

*/ private String detailedMessage; /** *

* The ID of the request in question. *

*/ private String requestId; /** *

* The HTTP status code returned with the exception. *

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

* A detailed message describing the problem. *

* * @param detailedMessage * A detailed message describing the problem. */ @com.fasterxml.jackson.annotation.JsonProperty("detailedMessage") public void setDetailedMessage(String detailedMessage) { this.detailedMessage = detailedMessage; } /** *

* A detailed message describing the problem. *

* * @return A detailed message describing the problem. */ @com.fasterxml.jackson.annotation.JsonProperty("detailedMessage") public String getDetailedMessage() { return this.detailedMessage; } /** *

* A detailed message describing the problem. *

* * @param detailedMessage * A detailed message describing the problem. * @return Returns a reference to this object so that method calls can be chained together. */ public S3Exception withDetailedMessage(String detailedMessage) { setDetailedMessage(detailedMessage); return this; } /** *

* The ID of the request in question. *

* * @param requestId * The ID of the request in question. */ @com.fasterxml.jackson.annotation.JsonProperty("requestId") public void setRequestId(String requestId) { this.requestId = requestId; } /** *

* The ID of the request in question. *

* * @return The ID of the request in question. */ @com.fasterxml.jackson.annotation.JsonProperty("requestId") public String getRequestId() { return this.requestId; } /** *

* The ID of the request in question. *

* * @param requestId * The ID of the request in question. * @return Returns a reference to this object so that method calls can be chained together. */ public S3Exception withRequestId(String requestId) { setRequestId(requestId); return this; } /** *

* The HTTP status code returned with the exception. *

* * @param code * The HTTP status code returned with the exception. */ @com.fasterxml.jackson.annotation.JsonProperty("code") public void setCode(String code) { this.code = code; } /** *

* The HTTP status code returned with the exception. *

* * @return The HTTP status code returned with the exception. */ @com.fasterxml.jackson.annotation.JsonProperty("code") public String getCode() { return this.code; } /** *

* The HTTP status code returned with the exception. *

* * @param code * The HTTP status code returned with the exception. * @return Returns a reference to this object so that method calls can be chained together. */ public S3Exception withCode(String code) { setCode(code); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy