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

com.amazonaws.services.backup.model.AlreadyExistsException Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.780
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.backup.model;

import javax.annotation.Generated;

/**
 * 

* The required resource already exists. *

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

*/ private String creatorRequestId; /**

*/ private String arn; /**

*/ private String type; /**

*/ private String context; /** * Constructs a new AlreadyExistsException with the specified error message. * * @param message * Describes the error encountered. */ public AlreadyExistsException(String message) { super(message); } /** * @param code */ @com.fasterxml.jackson.annotation.JsonProperty("Code") public void setCode(String code) { this.code = code; } /** * @return */ @com.fasterxml.jackson.annotation.JsonProperty("Code") public String getCode() { return this.code; } /** * @param code * @return Returns a reference to this object so that method calls can be chained together. */ public AlreadyExistsException withCode(String code) { setCode(code); return this; } /** *

* * @param creatorRequestId */ @com.fasterxml.jackson.annotation.JsonProperty("CreatorRequestId") public void setCreatorRequestId(String creatorRequestId) { this.creatorRequestId = creatorRequestId; } /** *

* * @return */ @com.fasterxml.jackson.annotation.JsonProperty("CreatorRequestId") public String getCreatorRequestId() { return this.creatorRequestId; } /** *

* * @param creatorRequestId * @return Returns a reference to this object so that method calls can be chained together. */ public AlreadyExistsException withCreatorRequestId(String creatorRequestId) { setCreatorRequestId(creatorRequestId); return this; } /** *

* * @param arn */ @com.fasterxml.jackson.annotation.JsonProperty("Arn") public void setArn(String arn) { this.arn = arn; } /** *

* * @return */ @com.fasterxml.jackson.annotation.JsonProperty("Arn") public String getArn() { return this.arn; } /** *

* * @param arn * @return Returns a reference to this object so that method calls can be chained together. */ public AlreadyExistsException withArn(String arn) { setArn(arn); return this; } /** *

* * @param type */ @com.fasterxml.jackson.annotation.JsonProperty("Type") public void setType(String type) { this.type = type; } /** *

* * @return */ @com.fasterxml.jackson.annotation.JsonProperty("Type") public String getType() { return this.type; } /** *

* * @param type * @return Returns a reference to this object so that method calls can be chained together. */ public AlreadyExistsException withType(String type) { setType(type); return this; } /** *

* * @param context */ @com.fasterxml.jackson.annotation.JsonProperty("Context") public void setContext(String context) { this.context = context; } /** *

* * @return */ @com.fasterxml.jackson.annotation.JsonProperty("Context") public String getContext() { return this.context; } /** *

* * @param context * @return Returns a reference to this object so that method calls can be chained together. */ public AlreadyExistsException withContext(String context) { setContext(context); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy