public static final class CfnVolume.OntapConfigurationProperty.Builder
extends java.lang.Object
CfnVolume.OntapConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnVolume.OntapConfigurationProperty.Builder junctionPath(java.lang.String junctionPath)
CfnVolume.OntapConfigurationProperty.getJunctionPath()
junctionPath
- 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
.this
public CfnVolume.OntapConfigurationProperty.Builder sizeInMegabytes(java.lang.String sizeInMegabytes)
CfnVolume.OntapConfigurationProperty.getSizeInMegabytes()
sizeInMegabytes
- Specifies the size of the volume, in megabytes (MB), that you are creating. This parameter is required.this
public CfnVolume.OntapConfigurationProperty.Builder storageEfficiencyEnabled(java.lang.String storageEfficiencyEnabled)
CfnVolume.OntapConfigurationProperty.getStorageEfficiencyEnabled()
storageEfficiencyEnabled
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume. This parameter is required.this
public CfnVolume.OntapConfigurationProperty.Builder storageVirtualMachineId(java.lang.String storageVirtualMachineId)
CfnVolume.OntapConfigurationProperty.getStorageVirtualMachineId()
storageVirtualMachineId
- Specifies the ONTAP SVM in which to create the volume. This parameter is required.this
public CfnVolume.OntapConfigurationProperty.Builder securityStyle(java.lang.String securityStyle)
CfnVolume.OntapConfigurationProperty.getSecurityStyle()
securityStyle
- The security style for the volume. 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. UNIX
is the default.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.this
public CfnVolume.OntapConfigurationProperty.Builder tieringPolicy(IResolvable tieringPolicy)
CfnVolume.OntapConfigurationProperty.getTieringPolicy()
tieringPolicy
- 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.this
public CfnVolume.OntapConfigurationProperty.Builder tieringPolicy(CfnVolume.TieringPolicyProperty tieringPolicy)
CfnVolume.OntapConfigurationProperty.getTieringPolicy()
tieringPolicy
- 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.this
public CfnVolume.OntapConfigurationProperty build()
CfnVolume.OntapConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided