public class Volume extends Object
| Constructor and Description |
|---|
Volume() |
| Modifier and Type | Method and Description |
|---|---|
AzureFileVolume |
azureFile()
Get the azureFile value.
|
Object |
emptyDir()
Get the emptyDir value.
|
GitRepoVolume |
gitRepo()
Get the gitRepo value.
|
String |
name()
Get the name value.
|
Map<String,String> |
secret()
Get the secret value.
|
Volume |
withAzureFile(AzureFileVolume azureFile)
Set the azureFile value.
|
Volume |
withEmptyDir(Object emptyDir)
Set the emptyDir value.
|
Volume |
withGitRepo(GitRepoVolume gitRepo)
Set the gitRepo value.
|
Volume |
withName(String name)
Set the name value.
|
Volume |
withSecret(Map<String,String> secret)
Set the secret value.
|
public String name()
public Volume withName(String name)
name - the name value to setpublic AzureFileVolume azureFile()
public Volume withAzureFile(AzureFileVolume azureFile)
azureFile - the azureFile value to setpublic Object emptyDir()
public Volume withEmptyDir(Object emptyDir)
emptyDir - the emptyDir value to setpublic Volume withSecret(Map<String,String> secret)
secret - the secret value to setpublic GitRepoVolume gitRepo()
public Volume withGitRepo(GitRepoVolume gitRepo)
gitRepo - the gitRepo 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.
*/