com.amazonaws.services.fsx.model.BackupRestoringException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-fsx Show documentation
Show all versions of aws-java-sdk-fsx Show documentation
The AWS Java SDK for Amazon FSx module holds the client classes that are used for communicating with Amazon FSx Service
/*
* Copyright 2015-2020 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.fsx.model;
import javax.annotation.Generated;
/**
*
* You can't delete a backup while it's being used to restore a file system.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class BackupRestoringException extends com.amazonaws.services.fsx.model.AmazonFSxException {
private static final long serialVersionUID = 1L;
/**
*
* The ID of a file system being restored from the backup.
*
*/
private String fileSystemId;
/**
* Constructs a new BackupRestoringException with the specified error message.
*
* @param message
* Describes the error encountered.
*/
public BackupRestoringException(String message) {
super(message);
}
/**
*
* The ID of a file system being restored from the backup.
*
*
* @param fileSystemId
* The ID of a file system being restored from the backup.
*/
@com.fasterxml.jackson.annotation.JsonProperty("FileSystemId")
public void setFileSystemId(String fileSystemId) {
this.fileSystemId = fileSystemId;
}
/**
*
* The ID of a file system being restored from the backup.
*
*
* @return The ID of a file system being restored from the backup.
*/
@com.fasterxml.jackson.annotation.JsonProperty("FileSystemId")
public String getFileSystemId() {
return this.fileSystemId;
}
/**
*
* The ID of a file system being restored from the backup.
*
*
* @param fileSystemId
* The ID of a file system being restored from the backup.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BackupRestoringException withFileSystemId(String fileSystemId) {
setFileSystemId(fileSystemId);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy