Class OntapVolumeState.Builder

  • Enclosing class:
    OntapVolumeState

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

      • Builder

        public Builder()
    • Method Detail

      • aggregateConfiguration

        public OntapVolumeState.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 OntapVolumeState.Builder aggregateConfiguration​(OntapVolumeAggregateConfigurationArgs aggregateConfiguration)
        Parameters:
        aggregateConfiguration - Aggregate configuration only applies to `FLEXGROUP` volumes. See [`aggregateConfiguration` Block] for details.
        Returns:
        builder
      • arn

        public OntapVolumeState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the volune.
        Returns:
        builder
      • arn

        public OntapVolumeState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the volune.
        Returns:
        builder
      • bypassSnaplockEnterpriseRetention

        public OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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
      • fileSystemId

        public OntapVolumeState.Builder fileSystemId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> fileSystemId)
        Parameters:
        fileSystemId - File system for the volume, e.g. `fs-12345679`
        Returns:
        builder
      • fileSystemId

        public OntapVolumeState.Builder fileSystemId​(java.lang.String fileSystemId)
        Parameters:
        fileSystemId - File system for the volume, e.g. `fs-12345679`
        Returns:
        builder
      • finalBackupTags

        public OntapVolumeState.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 OntapVolumeState.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
      • flexcacheEndpointType

        public OntapVolumeState.Builder flexcacheEndpointType​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> flexcacheEndpointType)
        Parameters:
        flexcacheEndpointType - FlexCache endpoint type of the volume, Valid values are `NONE`, `ORIGIN`, `CACHE`. Default value is `NONE`. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
        Returns:
        builder
      • flexcacheEndpointType

        public OntapVolumeState.Builder flexcacheEndpointType​(java.lang.String flexcacheEndpointType)
        Parameters:
        flexcacheEndpointType - FlexCache endpoint type of the volume, Valid values are `NONE`, `ORIGIN`, `CACHE`. Default value is `NONE`. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
        Returns:
        builder
      • junctionPath

        public OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.Builder securityStyle​(java.lang.String securityStyle)
        Parameters:
        securityStyle - Volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`.
        Returns:
        builder
      • sizeInBytes

        public OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.Builder storageVirtualMachineId​(@Nullable
                                                                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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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
      • tagsAll

        public OntapVolumeState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public OntapVolumeState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tieringPolicy

        public OntapVolumeState.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
      • uuid

        public OntapVolumeState.Builder uuid​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> uuid)
        Parameters:
        uuid - Volume's UUID (universally unique identifier).
        Returns:
        builder
      • uuid

        public OntapVolumeState.Builder uuid​(java.lang.String uuid)
        Parameters:
        uuid - Volume's UUID (universally unique identifier).
        Returns:
        builder
      • volumeStyle

        public OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.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 OntapVolumeState.Builder volumeType​(java.lang.String volumeType)
        Parameters:
        volumeType - Type of volume, currently the only valid value is `ONTAP`.
        Returns:
        builder