public static final class ModifyEciScalingConfigurationRequest.VolumeMounts.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyEciScalingConfigurationRequest.VolumeMounts |
build() |
ModifyEciScalingConfigurationRequest.VolumeMounts.Builder |
mountPath(String mountPath)
The directory within the container onto which you want to mount the volume.
|
ModifyEciScalingConfigurationRequest.VolumeMounts.Builder |
mountPropagation(String mountPropagation)
The mount propagation setting of the volume.
|
ModifyEciScalingConfigurationRequest.VolumeMounts.Builder |
name(String name)
The volume name.
|
ModifyEciScalingConfigurationRequest.VolumeMounts.Builder |
readOnly(Boolean readOnly)
Specifies whether the volume is read-only.
|
ModifyEciScalingConfigurationRequest.VolumeMounts.Builder |
subPath(String subPath)
The subdirectory of the volume.
|
public ModifyEciScalingConfigurationRequest.VolumeMounts.Builder mountPath(String mountPath)
> The information stored within this directory will be overridden by the data present on the mounted volume. Specify this parameter with caution.
public ModifyEciScalingConfigurationRequest.VolumeMounts.Builder mountPropagation(String mountPropagation)
* None: Subsequent mounts executed either on the volume itself or its subdirectories do not propagate to the already established volume mount. * HostToCotainer: Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount. * Bidirectional: This value is similar to HostToCotainer. Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount. 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.
public ModifyEciScalingConfigurationRequest.VolumeMounts.Builder name(String name)
public ModifyEciScalingConfigurationRequest.VolumeMounts.Builder readOnly(Boolean readOnly)
Default value: false.
public ModifyEciScalingConfigurationRequest.VolumeMounts.Builder subPath(String subPath)
public ModifyEciScalingConfigurationRequest.VolumeMounts build()
Copyright © 2024. All rights reserved.