public static interface OntapVolumeConfiguration.Builder extends SdkPojo, CopyableBuilder<OntapVolumeConfiguration.Builder,OntapVolumeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
OntapVolumeConfiguration.Builder |
copyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups.
|
OntapVolumeConfiguration.Builder |
flexCacheEndpointType(FlexCacheEndpointType flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume.
|
OntapVolumeConfiguration.Builder |
flexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume.
|
OntapVolumeConfiguration.Builder |
junctionPath(String junctionPath)
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.
|
OntapVolumeConfiguration.Builder |
ontapVolumeType(OntapVolumeType ontapVolumeType)
Specifies the type of volume.
|
OntapVolumeConfiguration.Builder |
ontapVolumeType(String ontapVolumeType)
Specifies the type of volume.
|
OntapVolumeConfiguration.Builder |
securityStyle(SecurityStyle securityStyle)
The security style for the volume, which can be
UNIX, NTFS, or MIXED. |
OntapVolumeConfiguration.Builder |
securityStyle(String securityStyle)
The security style for the volume, which can be
UNIX, NTFS, or MIXED. |
OntapVolumeConfiguration.Builder |
sizeInMegabytes(Integer sizeInMegabytes)
The configured size of the volume, in megabytes (MBs).
|
default OntapVolumeConfiguration.Builder |
snaplockConfiguration(Consumer<SnaplockConfiguration.Builder> snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
|
OntapVolumeConfiguration.Builder |
snaplockConfiguration(SnaplockConfiguration snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
|
OntapVolumeConfiguration.Builder |
snapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume.
|
OntapVolumeConfiguration.Builder |
storageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
The volume's storage efficiency setting.
|
OntapVolumeConfiguration.Builder |
storageVirtualMachineId(String storageVirtualMachineId)
The ID of the volume's storage virtual machine.
|
OntapVolumeConfiguration.Builder |
storageVirtualMachineRoot(Boolean storageVirtualMachineRoot)
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
|
default OntapVolumeConfiguration.Builder |
tieringPolicy(Consumer<TieringPolicy.Builder> tieringPolicy)
The volume's
TieringPolicy setting. |
OntapVolumeConfiguration.Builder |
tieringPolicy(TieringPolicy tieringPolicy)
The volume's
TieringPolicy setting. |
OntapVolumeConfiguration.Builder |
uuid(String uuid)
The volume's universally unique identifier (UUID).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOntapVolumeConfiguration.Builder flexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE specifies that the volume doesn't have a FlexCache configuration. NONE is the
default.
ORIGIN specifies that the volume is the origin volume for a FlexCache volume.
CACHE specifies that the volume is a FlexCache volume.
flexCacheEndpointType - Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE specifies that the volume doesn't have a FlexCache configuration. NONE
is the default.
ORIGIN specifies that the volume is the origin volume for a FlexCache volume.
CACHE specifies that the volume is a FlexCache volume.
FlexCacheEndpointType,
FlexCacheEndpointTypeOntapVolumeConfiguration.Builder flexCacheEndpointType(FlexCacheEndpointType flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE specifies that the volume doesn't have a FlexCache configuration. NONE is the
default.
ORIGIN specifies that the volume is the origin volume for a FlexCache volume.
CACHE specifies that the volume is a FlexCache volume.
flexCacheEndpointType - Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE specifies that the volume doesn't have a FlexCache configuration. NONE
is the default.
ORIGIN specifies that the volume is the origin volume for a FlexCache volume.
CACHE specifies that the volume is a FlexCache volume.
FlexCacheEndpointType,
FlexCacheEndpointTypeOntapVolumeConfiguration.Builder junctionPath(String junctionPath)
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.
junctionPath - 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.OntapVolumeConfiguration.Builder securityStyle(String securityStyle)
The security style for the volume, which can be UNIX, NTFS, or MIXED.
securityStyle - The security style for the volume, which can be UNIX, NTFS, or
MIXED.SecurityStyle,
SecurityStyleOntapVolumeConfiguration.Builder securityStyle(SecurityStyle securityStyle)
The security style for the volume, which can be UNIX, NTFS, or MIXED.
securityStyle - The security style for the volume, which can be UNIX, NTFS, or
MIXED.SecurityStyle,
SecurityStyleOntapVolumeConfiguration.Builder sizeInMegabytes(Integer sizeInMegabytes)
The configured size of the volume, in megabytes (MBs).
sizeInMegabytes - The configured size of the volume, in megabytes (MBs).OntapVolumeConfiguration.Builder storageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
The volume's storage efficiency setting.
storageEfficiencyEnabled - The volume's storage efficiency setting.OntapVolumeConfiguration.Builder storageVirtualMachineId(String storageVirtualMachineId)
The ID of the volume's storage virtual machine.
storageVirtualMachineId - The ID of the volume's storage virtual machine.OntapVolumeConfiguration.Builder storageVirtualMachineRoot(Boolean storageVirtualMachineRoot)
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.
storageVirtualMachineRoot - 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.
OntapVolumeConfiguration.Builder tieringPolicy(TieringPolicy tieringPolicy)
The volume's TieringPolicy setting.
tieringPolicy - The volume's TieringPolicy setting.default OntapVolumeConfiguration.Builder tieringPolicy(Consumer<TieringPolicy.Builder> tieringPolicy)
The volume's TieringPolicy setting.
TieringPolicy.Builder avoiding the need
to create one manually via TieringPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to tieringPolicy(TieringPolicy).
tieringPolicy - a consumer that will call methods on TieringPolicy.BuildertieringPolicy(TieringPolicy)OntapVolumeConfiguration.Builder uuid(String uuid)
The volume's universally unique identifier (UUID).
uuid - The volume's universally unique identifier (UUID).OntapVolumeConfiguration.Builder ontapVolumeType(String ontapVolumeType)
Specifies the type of volume. Valid values are the following:
RW specifies a read/write volume. RW is the default.
DP specifies a data-protection volume. You can protect data by replicating it to data-protection
mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data.
LS specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to
a FlexVol volume by providing additional read-only access to clients.
ontapVolumeType - Specifies the type of volume. Valid values are the following:
RW specifies a read/write volume. RW is the default.
DP specifies a data-protection volume. You can protect data by replicating it to
data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies
to recover data.
LS specifies a load-sharing mirror volume. A load-sharing mirror reduces the network
traffic to a FlexVol volume by providing additional read-only access to clients.
OntapVolumeType,
OntapVolumeTypeOntapVolumeConfiguration.Builder ontapVolumeType(OntapVolumeType ontapVolumeType)
Specifies the type of volume. Valid values are the following:
RW specifies a read/write volume. RW is the default.
DP specifies a data-protection volume. You can protect data by replicating it to data-protection
mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data.
LS specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to
a FlexVol volume by providing additional read-only access to clients.
ontapVolumeType - Specifies the type of volume. Valid values are the following:
RW specifies a read/write volume. RW is the default.
DP specifies a data-protection volume. You can protect data by replicating it to
data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies
to recover data.
LS specifies a load-sharing mirror volume. A load-sharing mirror reduces the network
traffic to a FlexVol volume by providing additional read-only access to clients.
OntapVolumeType,
OntapVolumeTypeOntapVolumeConfiguration.Builder snapshotPolicy(String snapshotPolicy)
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.
snapshotPolicy - 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.
OntapVolumeConfiguration.Builder copyTagsToBackups(Boolean copyTagsToBackups)
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.
copyTagsToBackups - 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.OntapVolumeConfiguration.Builder snaplockConfiguration(SnaplockConfiguration snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
snaplockConfiguration - The SnapLock configuration object for an FSx for ONTAP SnapLock volume.default OntapVolumeConfiguration.Builder snaplockConfiguration(Consumer<SnaplockConfiguration.Builder> snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
This is a convenience method that creates an instance of theSnaplockConfiguration.Builder avoiding
the need to create one manually via SnaplockConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to snaplockConfiguration(SnaplockConfiguration).
snaplockConfiguration - a consumer that will call methods on SnaplockConfiguration.BuildersnaplockConfiguration(SnaplockConfiguration)Copyright © 2023. All rights reserved.