public static final class CreateEciScalingConfigurationRequest.VolumeMounts.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateEciScalingConfigurationRequest.VolumeMounts |
build() |
CreateEciScalingConfigurationRequest.VolumeMounts.Builder |
mountPath(String mountPath)
The directory in which the container mounts the volume.
|
CreateEciScalingConfigurationRequest.VolumeMounts.Builder |
mountPropagation(String mountPropagation)
The mount propagation settings of the volume.
|
CreateEciScalingConfigurationRequest.VolumeMounts.Builder |
name(String name)
The volume name.
|
CreateEciScalingConfigurationRequest.VolumeMounts.Builder |
readOnly(Boolean readOnly)
Specifies whether the volume is read-only.
|
CreateEciScalingConfigurationRequest.VolumeMounts.Builder |
subPath(String subPath)
The volume subdirectory.
|
public CreateEciScalingConfigurationRequest.VolumeMounts.Builder mountPath(String mountPath)
> Data under this directory is overwritten by data on the volume. Specify this parameter with caution.
public CreateEciScalingConfigurationRequest.VolumeMounts.Builder mountPropagation(String mountPropagation)
* None: Subsequent mounts executed either on the volume itself or its subdirectories do not propagate to the volume. * HostToCotainer: Subsequent mounts executed either on the volume itself or its subdirectories propagate to the volume. * Bidirectional: This value is similar to HostToCotainer. Subsequent mounts executed either on the volume itself or its subdirectories propagate to the volume. In addition, any volume mounts executed on the container not only propagate back to the underlying host but also to all containers across every pod that uses the same volume. Default value: None.
public CreateEciScalingConfigurationRequest.VolumeMounts.Builder name(String name)
public CreateEciScalingConfigurationRequest.VolumeMounts.Builder readOnly(Boolean readOnly)
* true * false Default value: false.
public CreateEciScalingConfigurationRequest.VolumeMounts.Builder subPath(String subPath)
public CreateEciScalingConfigurationRequest.VolumeMounts build()
Copyright © 2024. All rights reserved.