public static final class ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts |
build() |
ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
mountPath(String mountPath)
The path where the container mounts the volume.
|
ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
mountPropagation(String mountPropagation)
The mount propagation setting of the volume.
|
ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
name(String name)
The name of the volume.
|
ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
readOnly(Boolean readOnly)
Specifies whether the mount path is read-only.
|
ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder |
subPath(String subPath)
The subdirectory of the volume.
|
public ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder mountPath(String mountPath)
> Data stored in the path of the container is overwritten by the content of the volume.
public ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder mountPropagation(String mountPropagation)
* None: The volume mount does not receive subsequent mounts that are mounted to this volume or its subdirectories. * HostToCotainer: The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. * Bidirectional: This value is similar to HostToCotainer. 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. Default value: None.
public ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder name(String name)
public ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder readOnly(Boolean readOnly)
Default value: false.
public ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts.Builder subPath(String subPath)
public ModifyEciScalingConfigurationRequest.InitContainerVolumeMounts build()
Copyright © 2024. All rights reserved.