public class CephFSVolumeSourceFluentImpl<A extends CephFSVolumeSourceFluent<A>> extends BaseFluent<A> implements CephFSVolumeSourceFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
CephFSVolumeSourceFluentImpl.SecretRefNestedImpl<N> |
CephFSVolumeSourceFluent.SecretRefNested<N>
_visitables
Constructor and Description |
---|
CephFSVolumeSourceFluentImpl() |
CephFSVolumeSourceFluentImpl(CephFSVolumeSource instance) |
public CephFSVolumeSourceFluentImpl()
public CephFSVolumeSourceFluentImpl(CephFSVolumeSource instance)
public A addToMonitors(int index, String item)
addToMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A setToMonitors(int index, String item)
setToMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A addToMonitors(String... items)
addToMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A addAllToMonitors(Collection<String> items)
addAllToMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A removeFromMonitors(String... items)
removeFromMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A removeAllFromMonitors(Collection<String> items)
removeAllFromMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public List<String> getMonitors()
getMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getMonitor(int index)
getMonitor
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getFirstMonitor()
getFirstMonitor
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getLastMonitor()
getLastMonitor
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getMatchingMonitor(Predicate<String> predicate)
getMatchingMonitor
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withMonitors(List<String> monitors)
withMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withMonitors(String... monitors)
withMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean hasMonitors()
hasMonitors
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getPath()
getPath
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withPath(String path)
withPath
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean hasPath()
hasPath
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean isReadOnly()
isReadOnly
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withReadOnly(Boolean readOnly)
withReadOnly
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean hasReadOnly()
hasReadOnly
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getSecretFile()
getSecretFile
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withSecretFile(String secretFile)
withSecretFile
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean hasSecretFile()
hasSecretFile
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
@Deprecated public LocalObjectReference getSecretRef()
getSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public LocalObjectReference buildSecretRef()
buildSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withSecretRef(LocalObjectReference secretRef)
withSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean hasSecretRef()
hasSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withNewSecretRef(String name)
withNewSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public CephFSVolumeSourceFluent.SecretRefNested<A> withNewSecretRef()
withNewSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public CephFSVolumeSourceFluent.SecretRefNested<A> withNewSecretRefLike(LocalObjectReference item)
withNewSecretRefLike
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public CephFSVolumeSourceFluent.SecretRefNested<A> editSecretRef()
editSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public CephFSVolumeSourceFluent.SecretRefNested<A> editOrNewSecretRef()
editOrNewSecretRef
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public CephFSVolumeSourceFluent.SecretRefNested<A> editOrNewSecretRefLike(LocalObjectReference item)
editOrNewSecretRefLike
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public String getUser()
getUser
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public A withUser(String user)
withUser
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
public Boolean hasUser()
hasUser
in interface CephFSVolumeSourceFluent<A extends CephFSVolumeSourceFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.