public static final class CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateEciScalingConfigurationRequest.InitContainerVolumeMounts |
build() |
CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
mountPath(String mountPath)
The path to which the volume is mounted.
|
CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
mountPropagation(String mountPropagation)
The mount propagation settings of the volume .
|
CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
name(String name)
The name of the volume.
|
CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
readOnly(Boolean readOnly)
Specifies whether the mount path is read-only.
|
CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
subPath(String subPath)
The subdirectory of the volume.
|
public CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder mountPath(String mountPath)
public CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder mountPropagation(String mountPropagation)
* None: The volume mount does not receive subsequent mounts that are mounted to this volume or its subdirectories. * HostToContainer: The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. * Bidirectional: This value is similar to HostToContainer. The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. In addition, all volume mounts that are created by the container are propagated back to the instance and to all containers of all pods that use the same volume.
public CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder name(String name)
public CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder readOnly(Boolean readOnly)
Default value: false.
public CreateEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder subPath(String subPath)
public CreateEciScalingConfigurationRequest.InitContainerVolumeMounts build()
Copyright © 2024. All rights reserved.