public class VolumeMount extends Object
| Constructor and Description |
|---|
VolumeMount() |
| Modifier and Type | Method and Description |
|---|---|
String |
mountPath()
Get the mountPath value.
|
String |
name()
Get the name value.
|
Boolean |
readOnly()
Get the readOnly value.
|
VolumeMount |
withMountPath(String mountPath)
Set the mountPath value.
|
VolumeMount |
withName(String name)
Set the name value.
|
VolumeMount |
withReadOnly(Boolean readOnly)
Set the readOnly value.
|
public String name()
public VolumeMount withName(String name)
name - the name value to setpublic String mountPath()
public VolumeMount withMountPath(String mountPath)
mountPath - the mountPath value to setpublic Boolean readOnly()
public VolumeMount withReadOnly(Boolean readOnly)
readOnly - the readOnly value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/