Class CfnVolume.OntapConfigurationProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.fsx.CfnVolume.OntapConfigurationProperty.Jsii$Proxy
All Implemented Interfaces:
CfnVolume.OntapConfigurationProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnVolume.OntapConfigurationProperty

@Stability(Stable) @Internal public static final class CfnVolume.OntapConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVolume.OntapConfigurationProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnVolume.OntapConfigurationProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnVolume.OntapConfigurationProperty.Builder.
  • Method Details

    • getSizeInMegabytes

      public final String getSizeInMegabytes()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Specifies the size of the volume, in megabytes (MB), that you are creating.

      Provide any whole number in the range of 20–104857600 to specify the size of the volume.

      Specified by:
      getSizeInMegabytes in interface CfnVolume.OntapConfigurationProperty
    • getStorageVirtualMachineId

      public final String getStorageVirtualMachineId()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Specifies the ONTAP SVM in which to create the volume.
      Specified by:
      getStorageVirtualMachineId in interface CfnVolume.OntapConfigurationProperty
    • getCopyTagsToBackups

      public final String getCopyTagsToBackups()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      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.

      Specified by:
      getCopyTagsToBackups in interface CfnVolume.OntapConfigurationProperty
    • getJunctionPath

      public final String getJunctionPath()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Specifies the location in the SVM's namespace where the volume is mounted.

      This parameter is required. The JunctionPath must have a leading forward slash, such as /vol3 .

      Specified by:
      getJunctionPath in interface CfnVolume.OntapConfigurationProperty
    • getOntapVolumeType

      public final String getOntapVolumeType()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Specifies the type of volume you are creating. Valid values are the following:.

      • RW specifies a read/write volume. RW is the default.
      • DP specifies a data-protection volume. A DP volume is read-only and can be used as the destination of a NetApp SnapMirror relationship.

      For more information, see Volume types in the Amazon FSx for NetApp ONTAP User Guide .

      Specified by:
      getOntapVolumeType in interface CfnVolume.OntapConfigurationProperty
    • getSecurityStyle

      public final String getSecurityStyle()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Specifies the security style for the volume.

      If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide . Specify one of the following values:

      • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.
      • NTFS if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account.
      • MIXED if the file system is managed by both UNIX and Windows administrators and users consist of both NFS and SMB clients.
      Specified by:
      getSecurityStyle in interface CfnVolume.OntapConfigurationProperty
    • getSnapshotPolicy

      public final String getSnapshotPolicy()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Specifies the snapshot policy for the volume. There are three built-in snapshot policies:.

      • default : This is the default policy. A maximum of six hourly snapshots taken five minutes past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight.
      • default-1weekly : This policy is the same as the default policy except that it only retains one snapshot from the weekly schedule.
      • none : This policy does not take any snapshots. This policy can be assigned to volumes to prevent automatic snapshots from being taken.

      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 .

      Specified by:
      getSnapshotPolicy in interface CfnVolume.OntapConfigurationProperty
    • getStorageEfficiencyEnabled

      public final String getStorageEfficiencyEnabled()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume, or set to false to disable them.

      This parameter is required.

      Specified by:
      getStorageEfficiencyEnabled in interface CfnVolume.OntapConfigurationProperty
    • getTieringPolicy

      public final Object getTieringPolicy()
      Description copied from interface: CfnVolume.OntapConfigurationProperty
      Describes the data tiering policy for an ONTAP volume.

      When enabled, Amazon FSx for ONTAP's intelligent tiering automatically transitions a volume's data between the file system's primary storage and capacity pool storage based on your access patterns.

      Valid tiering policies are the following:

      • SNAPSHOT_ONLY - (Default value) moves cold snapshots to the capacity pool storage tier.
      • AUTO - moves cold user data and snapshots to the capacity pool storage tier based on your access patterns.
      • ALL - moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier.
      • NONE - keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier.
      Specified by:
      getTieringPolicy in interface CfnVolume.OntapConfigurationProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object