Class OpenZfsVolumeArgs.Builder

  • Enclosing class:
    OpenZfsVolumeArgs

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

      • Builder

        public Builder()
    • Method Detail

      • copyTagsToSnapshots

        public OpenZfsVolumeArgs.Builder copyTagsToSnapshots​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> copyTagsToSnapshots)
        Parameters:
        copyTagsToSnapshots - Whether tags for the file system should be copied to snapshots. Default is false.
        Returns:
        builder
      • copyTagsToSnapshots

        public OpenZfsVolumeArgs.Builder copyTagsToSnapshots​(java.lang.Boolean copyTagsToSnapshots)
        Parameters:
        copyTagsToSnapshots - Whether tags for the file system should be copied to snapshots. Default is false.
        Returns:
        builder
      • dataCompressionType

        public OpenZfsVolumeArgs.Builder dataCompressionType​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> dataCompressionType)
        Parameters:
        dataCompressionType - Method used to compress the data on the volume. Valid values are `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
        Returns:
        builder
      • dataCompressionType

        public OpenZfsVolumeArgs.Builder dataCompressionType​(java.lang.String dataCompressionType)
        Parameters:
        dataCompressionType - Method used to compress the data on the volume. Valid values are `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
        Returns:
        builder
      • deleteVolumeOptions

        public OpenZfsVolumeArgs.Builder deleteVolumeOptions​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> deleteVolumeOptions)
        Parameters:
        deleteVolumeOptions - Whether to delete all child volumes and snapshots. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`. This configuration must be applied separately before attempting to delete the resource to have the desired behavior..
        Returns:
        builder
      • deleteVolumeOptions

        public OpenZfsVolumeArgs.Builder deleteVolumeOptions​(java.lang.String deleteVolumeOptions)
        Parameters:
        deleteVolumeOptions - Whether to delete all child volumes and snapshots. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`. This configuration must be applied separately before attempting to delete the resource to have the desired behavior..
        Returns:
        builder
      • name

        public OpenZfsVolumeArgs.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 OpenZfsVolumeArgs.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
      • nfsExports

        public OpenZfsVolumeArgs.Builder nfsExports​(@Nullable
                                                    com.pulumi.core.Output<OpenZfsVolumeNfsExportsArgs> nfsExports)
        Parameters:
        nfsExports - NFS export configuration for the root volume. Exactly 1 item. See `nfsExports` Block Below for details.
        Returns:
        builder
      • originSnapshot

        public OpenZfsVolumeArgs.Builder originSnapshot​(@Nullable
                                                        com.pulumi.core.Output<OpenZfsVolumeOriginSnapshotArgs> originSnapshot)
        Parameters:
        originSnapshot - Configuration to use when creating the OpenZFS volume. See `originSnapshot` Block below for details.
        Returns:
        builder
      • parentVolumeId

        public OpenZfsVolumeArgs.Builder parentVolumeId​(com.pulumi.core.Output<java.lang.String> parentVolumeId)
        Parameters:
        parentVolumeId - Volume ID of the volume that will be the parent volume for the volume being created, this could be the root volume created from the `aws.fsx.OpenZfsFileSystem` resource with the `rootVolumeId` or the `id` property of another `aws.fsx.OpenZfsVolume`.
        Returns:
        builder
      • parentVolumeId

        public OpenZfsVolumeArgs.Builder parentVolumeId​(java.lang.String parentVolumeId)
        Parameters:
        parentVolumeId - Volume ID of the volume that will be the parent volume for the volume being created, this could be the root volume created from the `aws.fsx.OpenZfsFileSystem` resource with the `rootVolumeId` or the `id` property of another `aws.fsx.OpenZfsVolume`.
        Returns:
        builder
      • readOnly

        public OpenZfsVolumeArgs.Builder readOnly​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> readOnly)
        Parameters:
        readOnly - Whether the volume is read-only. Default is false.
        Returns:
        builder
      • readOnly

        public OpenZfsVolumeArgs.Builder readOnly​(java.lang.Boolean readOnly)
        Parameters:
        readOnly - Whether the volume is read-only. Default is false.
        Returns:
        builder
      • recordSizeKib

        public OpenZfsVolumeArgs.Builder recordSizeKib​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> recordSizeKib)
        Parameters:
        recordSizeKib - Record size of an OpenZFS volume, in kibibytes (KiB). Valid values are `4`, `8`, `16`, `32`, `64`, `128`, `256`, `512`, or `1024` KiB. Default is `128` KiB.
        Returns:
        builder
      • recordSizeKib

        public OpenZfsVolumeArgs.Builder recordSizeKib​(java.lang.Integer recordSizeKib)
        Parameters:
        recordSizeKib - Record size of an OpenZFS volume, in kibibytes (KiB). Valid values are `4`, `8`, `16`, `32`, `64`, `128`, `256`, `512`, or `1024` KiB. Default is `128` KiB.
        Returns:
        builder
      • region

        public OpenZfsVolumeArgs.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 OpenZfsVolumeArgs.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
      • storageCapacityQuotaGib

        public OpenZfsVolumeArgs.Builder storageCapacityQuotaGib​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> storageCapacityQuotaGib)
        Parameters:
        storageCapacityQuotaGib - Maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.
        Returns:
        builder
      • storageCapacityQuotaGib

        public OpenZfsVolumeArgs.Builder storageCapacityQuotaGib​(java.lang.Integer storageCapacityQuotaGib)
        Parameters:
        storageCapacityQuotaGib - Maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.
        Returns:
        builder
      • storageCapacityReservationGib

        public OpenZfsVolumeArgs.Builder storageCapacityReservationGib​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> storageCapacityReservationGib)
        Parameters:
        storageCapacityReservationGib - Amount of storage in gibibytes (GiB) to reserve from the parent volume.
        Returns:
        builder
      • storageCapacityReservationGib

        public OpenZfsVolumeArgs.Builder storageCapacityReservationGib​(java.lang.Integer storageCapacityReservationGib)
        Parameters:
        storageCapacityReservationGib - Amount of storage in gibibytes (GiB) to reserve from the parent volume.
        Returns:
        builder
      • tags

        public OpenZfsVolumeArgs.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 file system. 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 OpenZfsVolumeArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • userAndGroupQuotas

        public OpenZfsVolumeArgs.Builder userAndGroupQuotas​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<OpenZfsVolumeUserAndGroupQuotaArgs>> userAndGroupQuotas)
        Parameters:
        userAndGroupQuotas - Specify how much storage users or groups can use on the volume. Maximum number of items defined by [FSx for OpenZFS Resource quota](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/limits.html#limits-openzfs-resources-file-system). See `userAndGroupQuotas` Block Below.
        Returns:
        builder
      • userAndGroupQuotas

        public OpenZfsVolumeArgs.Builder userAndGroupQuotas​(java.util.List<OpenZfsVolumeUserAndGroupQuotaArgs> userAndGroupQuotas)
        Parameters:
        userAndGroupQuotas - Specify how much storage users or groups can use on the volume. Maximum number of items defined by [FSx for OpenZFS Resource quota](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/limits.html#limits-openzfs-resources-file-system). See `userAndGroupQuotas` Block Below.
        Returns:
        builder
      • userAndGroupQuotas

        public OpenZfsVolumeArgs.Builder userAndGroupQuotas​(OpenZfsVolumeUserAndGroupQuotaArgs... userAndGroupQuotas)
        Parameters:
        userAndGroupQuotas - Specify how much storage users or groups can use on the volume. Maximum number of items defined by [FSx for OpenZFS Resource quota](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/limits.html#limits-openzfs-resources-file-system). See `userAndGroupQuotas` Block Below.
        Returns:
        builder
      • volumeType

        public OpenZfsVolumeArgs.Builder volumeType​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> volumeType)
        Parameters:
        volumeType - Volume type. Default is `OPENZFS`.
        Returns:
        builder
      • volumeType

        public OpenZfsVolumeArgs.Builder volumeType​(java.lang.String volumeType)
        Parameters:
        volumeType - Volume type. Default is `OPENZFS`.
        Returns:
        builder