Package io.fabric8.kubernetes.api.model
Class RBDVolumeSourceFluentImpl<A extends RBDVolumeSourceFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.RBDVolumeSourceFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,RBDVolumeSourceFluent<A>
- Direct Known Subclasses:
RBDVolumeSourceBuilder
,VolumeFluentImpl.RbdNestedImpl
,WatchEventFluentImpl.RBDVolumeSourceObjectNestedImpl
public class RBDVolumeSourceFluentImpl<A extends RBDVolumeSourceFluent<A>> extends BaseFluent<A> implements RBDVolumeSourceFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RBDVolumeSourceFluentImpl.SecretRefNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.RBDVolumeSourceFluent
RBDVolumeSourceFluent.SecretRefNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description RBDVolumeSourceFluentImpl()
RBDVolumeSourceFluentImpl(RBDVolumeSource instance)
-
Method Summary
-
-
-
Constructor Detail
-
RBDVolumeSourceFluentImpl
public RBDVolumeSourceFluentImpl()
-
RBDVolumeSourceFluentImpl
public RBDVolumeSourceFluentImpl(RBDVolumeSource instance)
-
-
Method Detail
-
getFsType
public String getFsType()
- Specified by:
getFsType
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withFsType
public A withFsType(String fsType)
- Specified by:
withFsType
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasFsType
public Boolean hasFsType()
- Specified by:
hasFsType
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewFsType
public A withNewFsType(String arg1)
- Specified by:
withNewFsType
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewFsType
public A withNewFsType(StringBuilder arg1)
- Specified by:
withNewFsType
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewFsType
public A withNewFsType(StringBuffer arg1)
- Specified by:
withNewFsType
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getImage
public String getImage()
- Specified by:
getImage
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withImage
public A withImage(String image)
- Specified by:
withImage
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasImage
public Boolean hasImage()
- Specified by:
hasImage
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewImage
public A withNewImage(String arg1)
- Specified by:
withNewImage
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewImage
public A withNewImage(StringBuilder arg1)
- Specified by:
withNewImage
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewImage
public A withNewImage(StringBuffer arg1)
- Specified by:
withNewImage
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getKeyring
public String getKeyring()
- Specified by:
getKeyring
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withKeyring
public A withKeyring(String keyring)
- Specified by:
withKeyring
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasKeyring
public Boolean hasKeyring()
- Specified by:
hasKeyring
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewKeyring
public A withNewKeyring(String arg1)
- Specified by:
withNewKeyring
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewKeyring
public A withNewKeyring(StringBuilder arg1)
- Specified by:
withNewKeyring
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewKeyring
public A withNewKeyring(StringBuffer arg1)
- Specified by:
withNewKeyring
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
addToMonitors
public A addToMonitors(int index, String item)
- Specified by:
addToMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
setToMonitors
public A setToMonitors(int index, String item)
- Specified by:
setToMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
addToMonitors
public A addToMonitors(String... items)
- Specified by:
addToMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
addAllToMonitors
public A addAllToMonitors(Collection<String> items)
- Specified by:
addAllToMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
removeFromMonitors
public A removeFromMonitors(String... items)
- Specified by:
removeFromMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
removeAllFromMonitors
public A removeAllFromMonitors(Collection<String> items)
- Specified by:
removeAllFromMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getMonitors
public List<String> getMonitors()
- Specified by:
getMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getMonitor
public String getMonitor(int index)
- Specified by:
getMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getFirstMonitor
public String getFirstMonitor()
- Specified by:
getFirstMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getLastMonitor
public String getLastMonitor()
- Specified by:
getLastMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getMatchingMonitor
public String getMatchingMonitor(Predicate<String> predicate)
- Specified by:
getMatchingMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasMatchingMonitor
public Boolean hasMatchingMonitor(Predicate<String> predicate)
- Specified by:
hasMatchingMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withMonitors
public A withMonitors(List<String> monitors)
- Specified by:
withMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withMonitors
public A withMonitors(String... monitors)
- Specified by:
withMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasMonitors
public Boolean hasMonitors()
- Specified by:
hasMonitors
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
addNewMonitor
public A addNewMonitor(String arg1)
- Specified by:
addNewMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
addNewMonitor
public A addNewMonitor(StringBuilder arg1)
- Specified by:
addNewMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
addNewMonitor
public A addNewMonitor(StringBuffer arg1)
- Specified by:
addNewMonitor
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getPool
public String getPool()
- Specified by:
getPool
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withPool
public A withPool(String pool)
- Specified by:
withPool
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasPool
public Boolean hasPool()
- Specified by:
hasPool
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewPool
public A withNewPool(String arg1)
- Specified by:
withNewPool
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewPool
public A withNewPool(StringBuilder arg1)
- Specified by:
withNewPool
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewPool
public A withNewPool(StringBuffer arg1)
- Specified by:
withNewPool
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
isReadOnly
public Boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withReadOnly
public A withReadOnly(Boolean readOnly)
- Specified by:
withReadOnly
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasReadOnly
public Boolean hasReadOnly()
- Specified by:
hasReadOnly
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewReadOnly
public A withNewReadOnly(String arg1)
- Specified by:
withNewReadOnly
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewReadOnly
public A withNewReadOnly(boolean arg1)
- Specified by:
withNewReadOnly
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getSecretRef
@Deprecated public LocalObjectReference getSecretRef()
Deprecated.This method has been deprecated, please use method buildSecretRef instead.- Specified by:
getSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
- Returns:
- The buildable object.
-
buildSecretRef
public LocalObjectReference buildSecretRef()
- Specified by:
buildSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withSecretRef
public A withSecretRef(LocalObjectReference secretRef)
- Specified by:
withSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasSecretRef
public Boolean hasSecretRef()
- Specified by:
hasSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewSecretRef
public A withNewSecretRef(String name)
- Specified by:
withNewSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewSecretRef
public RBDVolumeSourceFluent.SecretRefNested<A> withNewSecretRef()
- Specified by:
withNewSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewSecretRefLike
public RBDVolumeSourceFluent.SecretRefNested<A> withNewSecretRefLike(LocalObjectReference item)
- Specified by:
withNewSecretRefLike
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
editSecretRef
public RBDVolumeSourceFluent.SecretRefNested<A> editSecretRef()
- Specified by:
editSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
editOrNewSecretRef
public RBDVolumeSourceFluent.SecretRefNested<A> editOrNewSecretRef()
- Specified by:
editOrNewSecretRef
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
editOrNewSecretRefLike
public RBDVolumeSourceFluent.SecretRefNested<A> editOrNewSecretRefLike(LocalObjectReference item)
- Specified by:
editOrNewSecretRefLike
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
getUser
public String getUser()
- Specified by:
getUser
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withUser
public A withUser(String user)
- Specified by:
withUser
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
hasUser
public Boolean hasUser()
- Specified by:
hasUser
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewUser
public A withNewUser(String arg1)
- Specified by:
withNewUser
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewUser
public A withNewUser(StringBuilder arg1)
- Specified by:
withNewUser
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
withNewUser
public A withNewUser(StringBuffer arg1)
- Specified by:
withNewUser
in interfaceRBDVolumeSourceFluent<A extends RBDVolumeSourceFluent<A>>
-
-