Package com.pulumi.alicloud.nas
Class FileSystemArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.nas.FileSystemArgs.Builder
-
- Enclosing class:
- FileSystemArgs
public static final class FileSystemArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FileSystemArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemArgs
build()
FileSystemArgs.Builder
capacity(com.pulumi.core.Output<java.lang.Integer> capacity)
FileSystemArgs.Builder
capacity(java.lang.Integer capacity)
FileSystemArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
FileSystemArgs.Builder
description(java.lang.String description)
FileSystemArgs.Builder
encryptType(com.pulumi.core.Output<java.lang.Integer> encryptType)
FileSystemArgs.Builder
encryptType(java.lang.Integer encryptType)
FileSystemArgs.Builder
fileSystemType(com.pulumi.core.Output<java.lang.String> fileSystemType)
FileSystemArgs.Builder
fileSystemType(java.lang.String fileSystemType)
FileSystemArgs.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
FileSystemArgs.Builder
kmsKeyId(java.lang.String kmsKeyId)
FileSystemArgs.Builder
protocolType(com.pulumi.core.Output<java.lang.String> protocolType)
FileSystemArgs.Builder
protocolType(java.lang.String protocolType)
FileSystemArgs.Builder
storageType(com.pulumi.core.Output<java.lang.String> storageType)
FileSystemArgs.Builder
storageType(java.lang.String storageType)
FileSystemArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
FileSystemArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
FileSystemArgs.Builder
vpcId(com.pulumi.core.Output<java.lang.String> vpcId)
FileSystemArgs.Builder
vpcId(java.lang.String vpcId)
FileSystemArgs.Builder
vswitchId(com.pulumi.core.Output<java.lang.String> vswitchId)
FileSystemArgs.Builder
vswitchId(java.lang.String vswitchId)
FileSystemArgs.Builder
zoneId(com.pulumi.core.Output<java.lang.String> zoneId)
FileSystemArgs.Builder
zoneId(java.lang.String zoneId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FileSystemArgs defaults)
-
-
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
-
build
public FileSystemArgs build()
-
-