/* * 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; /** *

* The configuration of an Amazon FSx for NetApp ONTAP volume. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class OntapVolumeConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* Specifies the FlexCache endpoint type of the volume. Valid values are the following: *

* */ private String flexCacheEndpointType; /** *

* Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the * storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a * JunctionPath directly below a parent volume junction or on a directory within a volume. A * JunctionPath for a volume named vol3 might be /vol1/vol2/vol3, or * /vol1/dir2/vol3, or even /dir1/dir2/vol3. *

*/ private String junctionPath; /** *

* The security style for the volume, which can be UNIX, NTFS, or MIXED. *

*/ private String securityStyle; /** *

* The configured size of the volume, in megabytes (MBs). *

*/ private Integer sizeInMegabytes; /** *

* The volume's storage efficiency setting. *

*/ private Boolean storageEfficiencyEnabled; /** *

* The ID of the volume's storage virtual machine. *

*/ private String storageVirtualMachineId; /** *

* A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one * volume on an SVM can be the root volume. This value defaults to false. If this value is * true, then this is the SVM root volume. *

*

* This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, * when set to false, helps you identify which volumes to delete before you can delete the SVM. *

*/ private Boolean storageVirtualMachineRoot; /** *

* The volume's TieringPolicy setting. *

*/ private TieringPolicy tieringPolicy; /** *

* The volume's universally unique identifier (UUID). *

*/ private String uUID; /** *

* Specifies the type of volume. Valid values are the following: *

* */ private String ontapVolumeType; /** *

* Specifies the snapshot policy for the volume. There are three built-in snapshot policies: *

* *

* You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API. *

*

* For more information, see Snapshot * policies in the Amazon FSx for NetApp ONTAP User Guide. *

*/ private String snapshotPolicy; /** *

* A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. * If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the * user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are * copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from * the volume, regardless of this value. *

*/ private Boolean copyTagsToBackups; /** *

* The SnapLock configuration object for an FSx for ONTAP SnapLock volume. *

*/ private SnaplockConfiguration snaplockConfiguration; /** *

* Specifies the FlexCache endpoint type of the volume. Valid values are the following: *

* * * @param flexCacheEndpointType * Specifies the FlexCache endpoint type of the volume. Valid values are the following:

*