Class OpenZfsVolumeState.Builder

  • Enclosing class:
    OpenZfsVolumeState

    public static final class OpenZfsVolumeState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

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

        public OpenZfsVolumeState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the file system.
        Returns:
        builder
      • copyTagsToSnapshots

        public OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.Builder parentVolumeId​(@Nullable
                                                         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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.Builder readOnly​(java.lang.Boolean readOnly)
        Parameters:
        readOnly - Whether the volume is read-only. Default is false.
        Returns:
        builder
      • recordSizeKib

        public OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.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 OpenZfsVolumeState.Builder storageCapacityReservationGib​(java.lang.Integer storageCapacityReservationGib)
        Parameters:
        storageCapacityReservationGib - Amount of storage in gibibytes (GiB) to reserve from the parent volume.
        Returns:
        builder
      • tags

        public OpenZfsVolumeState.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 OpenZfsVolumeState.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
      • tagsAll

        public OpenZfsVolumeState.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 OpenZfsVolumeState.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
      • userAndGroupQuotas

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

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