public static interface CreateOntapVolumeConfiguration.Builder extends SdkPojo, CopyableBuilder<CreateOntapVolumeConfiguration.Builder,CreateOntapVolumeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
CreateOntapVolumeConfiguration.Builder |
copyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups.
|
CreateOntapVolumeConfiguration.Builder |
junctionPath(String junctionPath)
Specifies the location in the SVM's namespace where the volume is mounted.
|
CreateOntapVolumeConfiguration.Builder |
ontapVolumeType(InputOntapVolumeType ontapVolumeType)
Specifies the type of volume you are creating.
|
CreateOntapVolumeConfiguration.Builder |
ontapVolumeType(String ontapVolumeType)
Specifies the type of volume you are creating.
|
CreateOntapVolumeConfiguration.Builder |
securityStyle(SecurityStyle securityStyle)
Specifies the security style for the volume.
|
CreateOntapVolumeConfiguration.Builder |
securityStyle(String securityStyle)
Specifies the security style for the volume.
|
CreateOntapVolumeConfiguration.Builder |
sizeInMegabytes(Integer sizeInMegabytes)
Specifies the size of the volume, in megabytes (MB), that you are creating.
|
default CreateOntapVolumeConfiguration.Builder |
snaplockConfiguration(Consumer<CreateSnaplockConfiguration.Builder> snaplockConfiguration)
Specifies the SnapLock configuration for an FSx for ONTAP volume.
|
CreateOntapVolumeConfiguration.Builder |
snaplockConfiguration(CreateSnaplockConfiguration snaplockConfiguration)
Specifies the SnapLock configuration for an FSx for ONTAP volume.
|
CreateOntapVolumeConfiguration.Builder |
snapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume.
|
CreateOntapVolumeConfiguration.Builder |
storageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume,
or set to false to disable them.
|
CreateOntapVolumeConfiguration.Builder |
storageVirtualMachineId(String storageVirtualMachineId)
Specifies the ONTAP SVM in which to create the volume.
|
default CreateOntapVolumeConfiguration.Builder |
tieringPolicy(Consumer<TieringPolicy.Builder> tieringPolicy)
Sets the value of the TieringPolicy property for this object.
|
CreateOntapVolumeConfiguration.Builder |
tieringPolicy(TieringPolicy tieringPolicy)
Sets the value of the TieringPolicy property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateOntapVolumeConfiguration.Builder junctionPath(String 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.
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.CreateOntapVolumeConfiguration.Builder securityStyle(String securityStyle)
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.
securityStyle - 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.
SecurityStyle,
SecurityStyleCreateOntapVolumeConfiguration.Builder securityStyle(SecurityStyle securityStyle)
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.
securityStyle - 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.
SecurityStyle,
SecurityStyleCreateOntapVolumeConfiguration.Builder sizeInMegabytes(Integer sizeInMegabytes)
Specifies the size of the volume, in megabytes (MB), that you are creating.
sizeInMegabytes - Specifies the size of the volume, in megabytes (MB), that you are creating.CreateOntapVolumeConfiguration.Builder storageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
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.
storageEfficiencyEnabled - 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.CreateOntapVolumeConfiguration.Builder storageVirtualMachineId(String storageVirtualMachineId)
Specifies the ONTAP SVM in which to create the volume.
storageVirtualMachineId - Specifies the ONTAP SVM in which to create the volume.CreateOntapVolumeConfiguration.Builder tieringPolicy(TieringPolicy tieringPolicy)
tieringPolicy - The new value for the TieringPolicy property for this object.default CreateOntapVolumeConfiguration.Builder tieringPolicy(Consumer<TieringPolicy.Builder> tieringPolicy)
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)CreateOntapVolumeConfiguration.Builder ontapVolumeType(String ontapVolumeType)
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.
ontapVolumeType - 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.
InputOntapVolumeType,
InputOntapVolumeTypeCreateOntapVolumeConfiguration.Builder ontapVolumeType(InputOntapVolumeType ontapVolumeType)
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.
ontapVolumeType - 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.
InputOntapVolumeType,
InputOntapVolumeTypeCreateOntapVolumeConfiguration.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.
CreateOntapVolumeConfiguration.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.CreateOntapVolumeConfiguration.Builder snaplockConfiguration(CreateSnaplockConfiguration snaplockConfiguration)
Specifies the SnapLock configuration for an FSx for ONTAP volume.
snaplockConfiguration - Specifies the SnapLock configuration for an FSx for ONTAP volume.default CreateOntapVolumeConfiguration.Builder snaplockConfiguration(Consumer<CreateSnaplockConfiguration.Builder> snaplockConfiguration)
Specifies the SnapLock configuration for an FSx for ONTAP volume.
This is a convenience method that creates an instance of theCreateSnaplockConfiguration.Builder
avoiding the need to create one manually via CreateSnaplockConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to snaplockConfiguration(CreateSnaplockConfiguration).
snaplockConfiguration - a consumer that will call methods on CreateSnaplockConfiguration.BuildersnaplockConfiguration(CreateSnaplockConfiguration)Copyright © 2023. All rights reserved.