public class Volume extends Object
Constructor and Description |
---|
Volume() |
Modifier and Type | Method and Description |
---|---|
AzureFileVolume |
azureFile()
Get the Azure File volume.
|
Object |
emptyDir()
Get the empty directory volume.
|
GitRepoVolume |
gitRepo()
Get the git repo volume.
|
String |
name()
Get the name of the volume.
|
Map<String,String> |
secret()
Get the secret volume.
|
Volume |
withAzureFile(AzureFileVolume azureFile)
Set the Azure File volume.
|
Volume |
withEmptyDir(Object emptyDir)
Set the empty directory volume.
|
Volume |
withGitRepo(GitRepoVolume gitRepo)
Set the git repo volume.
|
Volume |
withName(String name)
Set the name of the volume.
|
Volume |
withSecret(Map<String,String> secret)
Set the secret volume.
|
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 setCopyright © 2019. All rights reserved.