public static final class DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts |
build() |
DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder |
mountPath(String mountPath)
The directory to which the init container mounts the volume.
|
DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder |
mountPropagation(String mountPropagation)
The mount propagation setting of the volume.
|
DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder |
name(String name)
The volume name.
|
DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder |
readOnly(Boolean readOnly)
Indicates whether the mount directory is read-only.
|
DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder |
subPath(String subPath)
The subdirectory of the volume.
|
public DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder mountPath(String mountPath)
> Data in this directory is overwritten by the data on the volume. Proceed with caution if you specify this parameter.
public DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.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. Default value: None.
public DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder name(String name)
public DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder readOnly(Boolean readOnly)
Default value: false.
public DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts.Builder subPath(String subPath)
public DescribeEciScalingConfigurationDetailResponseBody.InitContainerVolumeMounts build()
Copyright © 2024. All rights reserved.