Class FileSystemArgs.Builder

  • Enclosing class:
    FileSystemArgs

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

      • Builder

        public Builder()
    • Method Detail

      • capacity

        public FileSystemArgs.Builder capacity​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> capacity)
        Parameters:
        capacity - The capacity of the file system. The `capacity` is required when the `file_system_type` is `extreme`. Unit: gib; **Note**: The minimum value is 100.
        Returns:
        builder
      • capacity

        public FileSystemArgs.Builder capacity​(java.lang.Integer capacity)
        Parameters:
        capacity - The capacity of the file system. The `capacity` is required when the `file_system_type` is `extreme`. Unit: gib; **Note**: The minimum value is 100.
        Returns:
        builder
      • description

        public FileSystemArgs.Builder description​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The File System description.
        Returns:
        builder
      • description

        public FileSystemArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The File System description.
        Returns:
        builder
      • encryptType

        public FileSystemArgs.Builder encryptType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> encryptType)
        Parameters:
        encryptType - Whether the file system is encrypted. Using kms service escrow key to encrypt and store the file system data. When reading and writing encrypted data, there is no need to decrypt. * Valid values:
        Returns:
        builder
      • encryptType

        public FileSystemArgs.Builder encryptType​(java.lang.Integer encryptType)
        Parameters:
        encryptType - Whether the file system is encrypted. Using kms service escrow key to encrypt and store the file system data. When reading and writing encrypted data, there is no need to decrypt. * Valid values:
        Returns:
        builder
      • fileSystemType

        public FileSystemArgs.Builder fileSystemType​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> fileSystemType)
        Parameters:
        fileSystemType - the type of the file system. Valid values: `standard` (Default), `extreme`, `cpfs`.
        Returns:
        builder
      • fileSystemType

        public FileSystemArgs.Builder fileSystemType​(java.lang.String fileSystemType)
        Parameters:
        fileSystemType - the type of the file system. Valid values: `standard` (Default), `extreme`, `cpfs`.
        Returns:
        builder
      • kmsKeyId

        public FileSystemArgs.Builder kmsKeyId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - The id of the KMS key. The `kms_key_id` is required when the `encrypt_type` is `2`.
        Returns:
        builder
      • kmsKeyId

        public FileSystemArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - The id of the KMS key. The `kms_key_id` is required when the `encrypt_type` is `2`.
        Returns:
        builder
      • protocolType

        public FileSystemArgs.Builder protocolType​(com.pulumi.core.Output<java.lang.String> protocolType)
        Parameters:
        protocolType - The protocol type of the file system. Valid values: `NFS`, `SMB` (Available when the `file_system_type` is `standard`), `cpfs` (Available when the `file_system_type` is `cpfs`).
        Returns:
        builder
      • protocolType

        public FileSystemArgs.Builder protocolType​(java.lang.String protocolType)
        Parameters:
        protocolType - The protocol type of the file system. Valid values: `NFS`, `SMB` (Available when the `file_system_type` is `standard`), `cpfs` (Available when the `file_system_type` is `cpfs`).
        Returns:
        builder
      • storageType

        public FileSystemArgs.Builder storageType​(com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - The storage type of the file System. * Valid values:
        Returns:
        builder
      • storageType

        public FileSystemArgs.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - The storage type of the file System. * Valid values:
        Returns:
        builder
      • tags

        public FileSystemArgs.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource.
        Returns:
        builder
      • tags

        public FileSystemArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.Object> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource.
        Returns:
        builder
      • vpcId

        public FileSystemArgs.Builder vpcId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - The id of the VPC. The `vpc_id` is required when the `file_system_type` is `cpfs`.
        Returns:
        builder
      • vpcId

        public FileSystemArgs.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - The id of the VPC. The `vpc_id` is required when the `file_system_type` is `cpfs`.
        Returns:
        builder
      • vswitchId

        public FileSystemArgs.Builder vswitchId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> vswitchId)
        Parameters:
        vswitchId - The id of the vSwitch. The `vswitch_id` is required when the `file_system_type` is `cpfs`.
        Returns:
        builder
      • vswitchId

        public FileSystemArgs.Builder vswitchId​(java.lang.String vswitchId)
        Parameters:
        vswitchId - The id of the vSwitch. The `vswitch_id` is required when the `file_system_type` is `cpfs`.
        Returns:
        builder
      • zoneId

        public FileSystemArgs.Builder zoneId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> zoneId)
        Parameters:
        zoneId - The available zones information that supports nas.When FileSystemType=standard, this parameter is not required. **Note:** By default, a qualified availability zone is randomly selected according to the `protocol_type` and `storage_type` configuration.
        Returns:
        builder
      • zoneId

        public FileSystemArgs.Builder zoneId​(java.lang.String zoneId)
        Parameters:
        zoneId - The available zones information that supports nas.When FileSystemType=standard, this parameter is not required. **Note:** By default, a qualified availability zone is randomly selected according to the `protocol_type` and `storage_type` configuration.
        Returns:
        builder