/* * 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.fsx.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Volume implements Serializable, Cloneable, StructuredPojo { private java.util.Date creationTime; private String fileSystemId; /** *

* The lifecycle status of the volume. *

* */ private String lifecycle; /** *

* The name of the volume. *

*/ private String name; private OntapVolumeConfiguration ontapConfiguration; private String resourceARN; private java.util.List tags; /** *

* The system-generated, unique ID of the volume. *

*/ private String volumeId; /** *

* The type of the volume. *

*/ private String volumeType; /** *

* The reason why the volume lifecycle status changed. *

*/ private LifecycleTransitionReason lifecycleTransitionReason; /** *

* A list of administrative actions for the volume that are in process or waiting to be processed. Administrative * actions describe changes to the volume that you have initiated using the UpdateVolume action. *

*/ private java.util.List administrativeActions; /** *

* The configuration of an Amazon FSx for OpenZFS volume. *

*/ private OpenZFSVolumeConfiguration openZFSConfiguration; /** * @param creationTime */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** * @return */ public java.util.Date getCreationTime() { return this.creationTime; } /** * @param creationTime * @return Returns a reference to this object so that method calls can be chained together. */ public Volume withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** * @param fileSystemId */ public void setFileSystemId(String fileSystemId) { this.fileSystemId = fileSystemId; } /** * @return */ public String getFileSystemId() { return this.fileSystemId; } /** * @param fileSystemId * @return Returns a reference to this object so that method calls can be chained together. */ public Volume withFileSystemId(String fileSystemId) { setFileSystemId(fileSystemId); return this; } /** *

* The lifecycle status of the volume. *

* * * @param lifecycle * The lifecycle status of the volume.

*