Class OntapVolumeArgs.Builder

  • Enclosing class:
    OntapVolumeArgs

    public static final class OntapVolumeArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • aggregateConfiguration

        public OntapVolumeArgs.Builder aggregateConfiguration​(@Nullable
                                                              com.pulumi.core.Output<OntapVolumeAggregateConfigurationArgs> aggregateConfiguration)
        Parameters:
        aggregateConfiguration - Aggregate configuration only applies to `FLEXGROUP` volumes. See [`aggregateConfiguration` Block] for details.
        Returns:
        builder
      • aggregateConfiguration

        public OntapVolumeArgs.Builder aggregateConfiguration​(OntapVolumeAggregateConfigurationArgs aggregateConfiguration)
        Parameters:
        aggregateConfiguration - Aggregate configuration only applies to `FLEXGROUP` volumes. See [`aggregateConfiguration` Block] for details.
        Returns:
        builder
      • bypassSnaplockEnterpriseRetention

        public OntapVolumeArgs.Builder bypassSnaplockEnterpriseRetention​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Boolean> bypassSnaplockEnterpriseRetention)
        Parameters:
        bypassSnaplockEnterpriseRetention - Whether to allow a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
        Returns:
        builder
      • bypassSnaplockEnterpriseRetention

        public OntapVolumeArgs.Builder bypassSnaplockEnterpriseRetention​(java.lang.Boolean bypassSnaplockEnterpriseRetention)
        Parameters:
        bypassSnaplockEnterpriseRetention - Whether to allow a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
        Returns:
        builder
      • copyTagsToBackups

        public OntapVolumeArgs.Builder copyTagsToBackups​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> copyTagsToBackups)
        Parameters:
        copyTagsToBackups - Whether tags for the volume should be copied to backups. This value defaults to `false`.
        Returns:
        builder
      • copyTagsToBackups

        public OntapVolumeArgs.Builder copyTagsToBackups​(java.lang.Boolean copyTagsToBackups)
        Parameters:
        copyTagsToBackups - Whether tags for the volume should be copied to backups. This value defaults to `false`.
        Returns:
        builder
      • finalBackupTags

        public OntapVolumeArgs.Builder finalBackupTags​(@Nullable
                                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> finalBackupTags)
        Parameters:
        finalBackupTags - Map of tags to apply to the volume's final backup.
        Returns:
        builder
      • finalBackupTags

        public OntapVolumeArgs.Builder finalBackupTags​(java.util.Map<java.lang.String,​java.lang.String> finalBackupTags)
        Parameters:
        finalBackupTags - Map of tags to apply to the volume's final backup.
        Returns:
        builder
      • junctionPath

        public OntapVolumeArgs.Builder junctionPath​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> junctionPath)
        Parameters:
        junctionPath - Location in the storage virtual machine's namespace where the volume is mounted. The junctionPath must have a leading forward slash, such as `/vol3`
        Returns:
        builder
      • junctionPath

        public OntapVolumeArgs.Builder junctionPath​(java.lang.String junctionPath)
        Parameters:
        junctionPath - Location in the storage virtual machine's namespace where the volume is mounted. The junctionPath must have a leading forward slash, such as `/vol3`
        Returns:
        builder
      • name

        public OntapVolumeArgs.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
        Returns:
        builder
      • name

        public OntapVolumeArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
        Returns:
        builder
      • ontapVolumeType

        public OntapVolumeArgs.Builder ontapVolumeType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> ontapVolumeType)
        Parameters:
        ontapVolumeType - Type of volume, valid values are `RW`, `DP`. Default value is `RW`. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication [Migrating to Amazon FSx for NetApp ONTAP](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/migrating-fsx-ontap.html)
        Returns:
        builder
      • ontapVolumeType

        public OntapVolumeArgs.Builder ontapVolumeType​(java.lang.String ontapVolumeType)
        Parameters:
        ontapVolumeType - Type of volume, valid values are `RW`, `DP`. Default value is `RW`. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication [Migrating to Amazon FSx for NetApp ONTAP](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/migrating-fsx-ontap.html)
        Returns:
        builder
      • region

        public OntapVolumeArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public OntapVolumeArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • securityStyle

        public OntapVolumeArgs.Builder securityStyle​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> securityStyle)
        Parameters:
        securityStyle - Volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`.
        Returns:
        builder
      • securityStyle

        public OntapVolumeArgs.Builder securityStyle​(java.lang.String securityStyle)
        Parameters:
        securityStyle - Volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`.
        Returns:
        builder
      • sizeInBytes

        public OntapVolumeArgs.Builder sizeInBytes​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> sizeInBytes)
        Parameters:
        sizeInBytes - Size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either sizeInBytes or sizeInMegabytes must be specified. Minimum size for `FLEXGROUP` volumes are 100GiB per constituent.
        Returns:
        builder
      • sizeInBytes

        public OntapVolumeArgs.Builder sizeInBytes​(java.lang.String sizeInBytes)
        Parameters:
        sizeInBytes - Size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either sizeInBytes or sizeInMegabytes must be specified. Minimum size for `FLEXGROUP` volumes are 100GiB per constituent.
        Returns:
        builder
      • sizeInMegabytes

        public OntapVolumeArgs.Builder sizeInMegabytes​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> sizeInMegabytes)
        Parameters:
        sizeInMegabytes - Size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either sizeInBytes or sizeInMegabytes must be specified. Minimum size for `FLEXGROUP` volumes are 100GiB per constituent.
        Returns:
        builder
      • sizeInMegabytes

        public OntapVolumeArgs.Builder sizeInMegabytes​(java.lang.Integer sizeInMegabytes)
        Parameters:
        sizeInMegabytes - Size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either sizeInBytes or sizeInMegabytes must be specified. Minimum size for `FLEXGROUP` volumes are 100GiB per constituent.
        Returns:
        builder
      • skipFinalBackup

        public OntapVolumeArgs.Builder skipFinalBackup​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> skipFinalBackup)
        Parameters:
        skipFinalBackup - Whether to skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
        Returns:
        builder
      • skipFinalBackup

        public OntapVolumeArgs.Builder skipFinalBackup​(java.lang.Boolean skipFinalBackup)
        Parameters:
        skipFinalBackup - Whether to skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
        Returns:
        builder
      • snaplockConfiguration

        public OntapVolumeArgs.Builder snaplockConfiguration​(@Nullable
                                                             com.pulumi.core.Output<OntapVolumeSnaplockConfigurationArgs> snaplockConfiguration)
        Parameters:
        snaplockConfiguration - SnapLock configuration for an FSx for ONTAP volume. See `snaplockConfiguration` Block for details.
        Returns:
        builder
      • snapshotPolicy

        public OntapVolumeArgs.Builder snapshotPolicy​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> snapshotPolicy)
        Parameters:
        snapshotPolicy - Snapshot policy for the volume. See [snapshot policies](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) in the Amazon FSx ONTAP User Guide
        Returns:
        builder
      • snapshotPolicy

        public OntapVolumeArgs.Builder snapshotPolicy​(java.lang.String snapshotPolicy)
        Parameters:
        snapshotPolicy - Snapshot policy for the volume. See [snapshot policies](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) in the Amazon FSx ONTAP User Guide
        Returns:
        builder
      • storageEfficiencyEnabled

        public OntapVolumeArgs.Builder storageEfficiencyEnabled​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> storageEfficiencyEnabled)
        Parameters:
        storageEfficiencyEnabled - Whether to enable deduplication, compression, and compaction storage efficiency features on the volume.
        Returns:
        builder
      • storageEfficiencyEnabled

        public OntapVolumeArgs.Builder storageEfficiencyEnabled​(java.lang.Boolean storageEfficiencyEnabled)
        Parameters:
        storageEfficiencyEnabled - Whether to enable deduplication, compression, and compaction storage efficiency features on the volume.
        Returns:
        builder
      • storageVirtualMachineId

        public OntapVolumeArgs.Builder storageVirtualMachineId​(com.pulumi.core.Output<java.lang.String> storageVirtualMachineId)
        Parameters:
        storageVirtualMachineId - Storage virtual machine in which to create the volume. The following arguments are optional:
        Returns:
        builder
      • storageVirtualMachineId

        public OntapVolumeArgs.Builder storageVirtualMachineId​(java.lang.String storageVirtualMachineId)
        Parameters:
        storageVirtualMachineId - Storage virtual machine in which to create the volume. The following arguments are optional:
        Returns:
        builder
      • tags

        public OntapVolumeArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the volume. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public OntapVolumeArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the volume. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tieringPolicy

        public OntapVolumeArgs.Builder tieringPolicy​(@Nullable
                                                     com.pulumi.core.Output<OntapVolumeTieringPolicyArgs> tieringPolicy)
        Parameters:
        tieringPolicy - Data tiering policy for an FSx for ONTAP volume. See `tieringPolicy` Block for details.
        Returns:
        builder
      • volumeStyle

        public OntapVolumeArgs.Builder volumeStyle​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> volumeStyle)
        Parameters:
        volumeStyle - Styles of volume, valid values are `FLEXVOL`, `FLEXGROUP`. Default value is `FLEXVOL`. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. [Volume Styles](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-styles.html)
        Returns:
        builder
      • volumeStyle

        public OntapVolumeArgs.Builder volumeStyle​(java.lang.String volumeStyle)
        Parameters:
        volumeStyle - Styles of volume, valid values are `FLEXVOL`, `FLEXGROUP`. Default value is `FLEXVOL`. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. [Volume Styles](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-styles.html)
        Returns:
        builder
      • volumeType

        public OntapVolumeArgs.Builder volumeType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> volumeType)
        Parameters:
        volumeType - Type of volume, currently the only valid value is `ONTAP`.
        Returns:
        builder
      • volumeType

        public OntapVolumeArgs.Builder volumeType​(java.lang.String volumeType)
        Parameters:
        volumeType - Type of volume, currently the only valid value is `ONTAP`.
        Returns:
        builder