Package io.fabric8.kubernetes.api.model
Class ContainerStatusFluentImpl<A extends ContainerStatusFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ContainerStatusFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,ContainerStatusFluent<A>
- Direct Known Subclasses:
ContainerStatusBuilder,KubeSchemaFluentImpl.ContainerStatusNestedImpl,PodStatusFluentImpl.ContainerStatusesNestedImpl,PodStatusFluentImpl.EphemeralContainerStatusesNestedImpl,PodStatusFluentImpl.InitContainerStatusesNestedImpl,WatchEventFluentImpl.ContainerStatusObjectNestedImpl
public class ContainerStatusFluentImpl<A extends ContainerStatusFluent<A>> extends BaseFluent<A> implements ContainerStatusFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classContainerStatusFluentImpl.LastStateNestedImpl<N>classContainerStatusFluentImpl.StateNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ContainerStatusFluent
ContainerStatusFluent.LastStateNested<N>, ContainerStatusFluent.StateNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ContainerStatusFluentImpl()ContainerStatusFluentImpl(ContainerStatus instance)
-
Method Summary
-
-
-
Constructor Detail
-
ContainerStatusFluentImpl
public ContainerStatusFluentImpl()
-
ContainerStatusFluentImpl
public ContainerStatusFluentImpl(ContainerStatus instance)
-
-
Method Detail
-
getContainerID
public String getContainerID()
- Specified by:
getContainerIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withContainerID
public A withContainerID(String containerID)
- Specified by:
withContainerIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasContainerID
public Boolean hasContainerID()
- Specified by:
hasContainerIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewContainerID
public A withNewContainerID(String arg1)
- Specified by:
withNewContainerIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewContainerID
public A withNewContainerID(StringBuilder arg1)
- Specified by:
withNewContainerIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewContainerID
public A withNewContainerID(StringBuffer arg1)
- Specified by:
withNewContainerIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getImage
public String getImage()
- Specified by:
getImagein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withImage
public A withImage(String image)
- Specified by:
withImagein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasImage
public Boolean hasImage()
- Specified by:
hasImagein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImage
public A withNewImage(String arg1)
- Specified by:
withNewImagein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImage
public A withNewImage(StringBuilder arg1)
- Specified by:
withNewImagein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImage
public A withNewImage(StringBuffer arg1)
- Specified by:
withNewImagein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getImageID
public String getImageID()
- Specified by:
getImageIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withImageID
public A withImageID(String imageID)
- Specified by:
withImageIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasImageID
public Boolean hasImageID()
- Specified by:
hasImageIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImageID
public A withNewImageID(String arg1)
- Specified by:
withNewImageIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImageID
public A withNewImageID(StringBuilder arg1)
- Specified by:
withNewImageIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImageID
public A withNewImageID(StringBuffer arg1)
- Specified by:
withNewImageIDin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getLastState
@Deprecated public ContainerState getLastState()
Deprecated.This method has been deprecated, please use method buildLastState instead.- Specified by:
getLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>- Returns:
- The buildable object.
-
buildLastState
public ContainerState buildLastState()
- Specified by:
buildLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withLastState
public A withLastState(ContainerState lastState)
- Specified by:
withLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasLastState
public Boolean hasLastState()
- Specified by:
hasLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewLastState
public ContainerStatusFluent.LastStateNested<A> withNewLastState()
- Specified by:
withNewLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewLastStateLike
public ContainerStatusFluent.LastStateNested<A> withNewLastStateLike(ContainerState item)
- Specified by:
withNewLastStateLikein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editLastState
public ContainerStatusFluent.LastStateNested<A> editLastState()
- Specified by:
editLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewLastState
public ContainerStatusFluent.LastStateNested<A> editOrNewLastState()
- Specified by:
editOrNewLastStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewLastStateLike
public ContainerStatusFluent.LastStateNested<A> editOrNewLastStateLike(ContainerState item)
- Specified by:
editOrNewLastStateLikein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getName
public String getName()
- Specified by:
getNamein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
isReady
public Boolean isReady()
- Specified by:
isReadyin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withReady
public A withReady(Boolean ready)
- Specified by:
withReadyin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasReady
public Boolean hasReady()
- Specified by:
hasReadyin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewReady
public A withNewReady(String arg1)
- Specified by:
withNewReadyin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewReady
public A withNewReady(boolean arg1)
- Specified by:
withNewReadyin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getRestartCount
public Integer getRestartCount()
- Specified by:
getRestartCountin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withRestartCount
public A withRestartCount(Integer restartCount)
- Specified by:
withRestartCountin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasRestartCount
public Boolean hasRestartCount()
- Specified by:
hasRestartCountin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
isStarted
public Boolean isStarted()
- Specified by:
isStartedin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withStarted
public A withStarted(Boolean started)
- Specified by:
withStartedin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasStarted
public Boolean hasStarted()
- Specified by:
hasStartedin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewStarted
public A withNewStarted(String arg1)
- Specified by:
withNewStartedin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewStarted
public A withNewStarted(boolean arg1)
- Specified by:
withNewStartedin interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getState
@Deprecated public ContainerState getState()
Deprecated.This method has been deprecated, please use method buildState instead.- Specified by:
getStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>- Returns:
- The buildable object.
-
buildState
public ContainerState buildState()
- Specified by:
buildStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withState
public A withState(ContainerState state)
- Specified by:
withStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasState
public Boolean hasState()
- Specified by:
hasStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewState
public ContainerStatusFluent.StateNested<A> withNewState()
- Specified by:
withNewStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewStateLike
public ContainerStatusFluent.StateNested<A> withNewStateLike(ContainerState item)
- Specified by:
withNewStateLikein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editState
public ContainerStatusFluent.StateNested<A> editState()
- Specified by:
editStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewState
public ContainerStatusFluent.StateNested<A> editOrNewState()
- Specified by:
editOrNewStatein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewStateLike
public ContainerStatusFluent.StateNested<A> editOrNewStateLike(ContainerState item)
- Specified by:
editOrNewStateLikein interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
-