Package com.pulumi.alicloud.eci.inputs
Class ContainerGroupVolumeArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.eci.inputs.ContainerGroupVolumeArgs.Builder
-
- Enclosing class:
- ContainerGroupVolumeArgs
public static final class ContainerGroupVolumeArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ContainerGroupVolumeArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ContainerGroupVolumeArgs defaults)
-
-
Method Detail
-
configFileVolumeConfigFileToPaths
public ContainerGroupVolumeArgs.Builder configFileVolumeConfigFileToPaths(@Nullable com.pulumi.core.Output<java.util.List<ContainerGroupVolumeConfigFileVolumeConfigFileToPathArgs>> configFileVolumeConfigFileToPaths)
- Parameters:
configFileVolumeConfigFileToPaths
- The paths of the ConfigFile volume. See `config_file_volume_config_file_to_paths` below. > **NOTE:** Every volumes mounted must have `name` and `type` attributes.- Returns:
- builder
-
configFileVolumeConfigFileToPaths
public ContainerGroupVolumeArgs.Builder configFileVolumeConfigFileToPaths(java.util.List<ContainerGroupVolumeConfigFileVolumeConfigFileToPathArgs> configFileVolumeConfigFileToPaths)
- Parameters:
configFileVolumeConfigFileToPaths
- The paths of the ConfigFile volume. See `config_file_volume_config_file_to_paths` below. > **NOTE:** Every volumes mounted must have `name` and `type` attributes.- Returns:
- builder
-
configFileVolumeConfigFileToPaths
public ContainerGroupVolumeArgs.Builder configFileVolumeConfigFileToPaths(ContainerGroupVolumeConfigFileVolumeConfigFileToPathArgs... configFileVolumeConfigFileToPaths)
- Parameters:
configFileVolumeConfigFileToPaths
- The paths of the ConfigFile volume. See `config_file_volume_config_file_to_paths` below. > **NOTE:** Every volumes mounted must have `name` and `type` attributes.- Returns:
- builder
-
diskVolumeDiskId
public ContainerGroupVolumeArgs.Builder diskVolumeDiskId(@Nullable com.pulumi.core.Output<java.lang.String> diskVolumeDiskId)
- Parameters:
diskVolumeDiskId
- The ID of DiskVolume.- Returns:
- builder
-
diskVolumeDiskId
public ContainerGroupVolumeArgs.Builder diskVolumeDiskId(java.lang.String diskVolumeDiskId)
- Parameters:
diskVolumeDiskId
- The ID of DiskVolume.- Returns:
- builder
-
diskVolumeFsType
public ContainerGroupVolumeArgs.Builder diskVolumeFsType(@Nullable com.pulumi.core.Output<java.lang.String> diskVolumeFsType)
- Parameters:
diskVolumeFsType
- The system type of DiskVolume.- Returns:
- builder
-
diskVolumeFsType
public ContainerGroupVolumeArgs.Builder diskVolumeFsType(java.lang.String diskVolumeFsType)
- Parameters:
diskVolumeFsType
- The system type of DiskVolume.- Returns:
- builder
-
flexVolumeDriver
public ContainerGroupVolumeArgs.Builder flexVolumeDriver(@Nullable com.pulumi.core.Output<java.lang.String> flexVolumeDriver)
- Parameters:
flexVolumeDriver
- The name of the FlexVolume driver.- Returns:
- builder
-
flexVolumeDriver
public ContainerGroupVolumeArgs.Builder flexVolumeDriver(java.lang.String flexVolumeDriver)
- Parameters:
flexVolumeDriver
- The name of the FlexVolume driver.- Returns:
- builder
-
flexVolumeFsType
public ContainerGroupVolumeArgs.Builder flexVolumeFsType(@Nullable com.pulumi.core.Output<java.lang.String> flexVolumeFsType)
- Parameters:
flexVolumeFsType
- The type of the mounted file system. The default value is determined by the script of FlexVolume.- Returns:
- builder
-
flexVolumeFsType
public ContainerGroupVolumeArgs.Builder flexVolumeFsType(java.lang.String flexVolumeFsType)
- Parameters:
flexVolumeFsType
- The type of the mounted file system. The default value is determined by the script of FlexVolume.- Returns:
- builder
-
flexVolumeOptions
public ContainerGroupVolumeArgs.Builder flexVolumeOptions(@Nullable com.pulumi.core.Output<java.lang.String> flexVolumeOptions)
- Parameters:
flexVolumeOptions
- The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.- Returns:
- builder
-
flexVolumeOptions
public ContainerGroupVolumeArgs.Builder flexVolumeOptions(java.lang.String flexVolumeOptions)
- Parameters:
flexVolumeOptions
- The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.- Returns:
- builder
-
name
public ContainerGroupVolumeArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the volume.- Returns:
- builder
-
name
public ContainerGroupVolumeArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of the volume.- Returns:
- builder
-
nfsVolumePath
public ContainerGroupVolumeArgs.Builder nfsVolumePath(@Nullable com.pulumi.core.Output<java.lang.String> nfsVolumePath)
- Parameters:
nfsVolumePath
- The path to the NFS volume.- Returns:
- builder
-
nfsVolumePath
public ContainerGroupVolumeArgs.Builder nfsVolumePath(java.lang.String nfsVolumePath)
- Parameters:
nfsVolumePath
- The path to the NFS volume.- Returns:
- builder
-
nfsVolumeReadOnly
public ContainerGroupVolumeArgs.Builder nfsVolumeReadOnly(@Nullable com.pulumi.core.Output<java.lang.Boolean> nfsVolumeReadOnly)
- Parameters:
nfsVolumeReadOnly
- The nfs volume read only. Default value: `false`.- Returns:
- builder
-
nfsVolumeReadOnly
public ContainerGroupVolumeArgs.Builder nfsVolumeReadOnly(java.lang.Boolean nfsVolumeReadOnly)
- Parameters:
nfsVolumeReadOnly
- The nfs volume read only. Default value: `false`.- Returns:
- builder
-
nfsVolumeServer
public ContainerGroupVolumeArgs.Builder nfsVolumeServer(@Nullable com.pulumi.core.Output<java.lang.String> nfsVolumeServer)
- Parameters:
nfsVolumeServer
- The address of the NFS server.- Returns:
- builder
-
nfsVolumeServer
public ContainerGroupVolumeArgs.Builder nfsVolumeServer(java.lang.String nfsVolumeServer)
- Parameters:
nfsVolumeServer
- The address of the NFS server.- Returns:
- builder
-
type
public ContainerGroupVolumeArgs.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- The type of the volume.- Returns:
- builder
-
type
public ContainerGroupVolumeArgs.Builder type(java.lang.String type)
- Parameters:
type
- The type of the volume.- Returns:
- builder
-
build
public ContainerGroupVolumeArgs build()
-
-