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 class
ContainerStatusFluentImpl.LastStateNestedImpl<N>
class
ContainerStatusFluentImpl.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:
getContainerID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withContainerID
public A withContainerID(String containerID)
- Specified by:
withContainerID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasContainerID
public Boolean hasContainerID()
- Specified by:
hasContainerID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewContainerID
public A withNewContainerID(String arg1)
- Specified by:
withNewContainerID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewContainerID
public A withNewContainerID(StringBuilder arg1)
- Specified by:
withNewContainerID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewContainerID
public A withNewContainerID(StringBuffer arg1)
- Specified by:
withNewContainerID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getImage
public String getImage()
- Specified by:
getImage
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withImage
public A withImage(String image)
- Specified by:
withImage
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasImage
public Boolean hasImage()
- Specified by:
hasImage
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImage
public A withNewImage(String arg1)
- Specified by:
withNewImage
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImage
public A withNewImage(StringBuilder arg1)
- Specified by:
withNewImage
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImage
public A withNewImage(StringBuffer arg1)
- Specified by:
withNewImage
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getImageID
public String getImageID()
- Specified by:
getImageID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withImageID
public A withImageID(String imageID)
- Specified by:
withImageID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasImageID
public Boolean hasImageID()
- Specified by:
hasImageID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImageID
public A withNewImageID(String arg1)
- Specified by:
withNewImageID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImageID
public A withNewImageID(StringBuilder arg1)
- Specified by:
withNewImageID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewImageID
public A withNewImageID(StringBuffer arg1)
- Specified by:
withNewImageID
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getLastState
@Deprecated public ContainerState getLastState()
Deprecated.This method has been deprecated, please use method buildLastState instead.- Specified by:
getLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
- Returns:
- The buildable object.
-
buildLastState
public ContainerState buildLastState()
- Specified by:
buildLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withLastState
public A withLastState(ContainerState lastState)
- Specified by:
withLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasLastState
public Boolean hasLastState()
- Specified by:
hasLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewLastState
public ContainerStatusFluent.LastStateNested<A> withNewLastState()
- Specified by:
withNewLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewLastStateLike
public ContainerStatusFluent.LastStateNested<A> withNewLastStateLike(ContainerState item)
- Specified by:
withNewLastStateLike
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editLastState
public ContainerStatusFluent.LastStateNested<A> editLastState()
- Specified by:
editLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewLastState
public ContainerStatusFluent.LastStateNested<A> editOrNewLastState()
- Specified by:
editOrNewLastState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewLastStateLike
public ContainerStatusFluent.LastStateNested<A> editOrNewLastStateLike(ContainerState item)
- Specified by:
editOrNewLastStateLike
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getName
public String getName()
- Specified by:
getName
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withName
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasName
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewName
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewName
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewName
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
isReady
public Boolean isReady()
- Specified by:
isReady
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withReady
public A withReady(Boolean ready)
- Specified by:
withReady
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasReady
public Boolean hasReady()
- Specified by:
hasReady
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewReady
public A withNewReady(String arg1)
- Specified by:
withNewReady
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewReady
public A withNewReady(boolean arg1)
- Specified by:
withNewReady
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getRestartCount
public Integer getRestartCount()
- Specified by:
getRestartCount
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withRestartCount
public A withRestartCount(Integer restartCount)
- Specified by:
withRestartCount
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasRestartCount
public Boolean hasRestartCount()
- Specified by:
hasRestartCount
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
isStarted
public Boolean isStarted()
- Specified by:
isStarted
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withStarted
public A withStarted(Boolean started)
- Specified by:
withStarted
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasStarted
public Boolean hasStarted()
- Specified by:
hasStarted
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewStarted
public A withNewStarted(String arg1)
- Specified by:
withNewStarted
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewStarted
public A withNewStarted(boolean arg1)
- Specified by:
withNewStarted
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
getState
@Deprecated public ContainerState getState()
Deprecated.This method has been deprecated, please use method buildState instead.- Specified by:
getState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
- Returns:
- The buildable object.
-
buildState
public ContainerState buildState()
- Specified by:
buildState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withState
public A withState(ContainerState state)
- Specified by:
withState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
hasState
public Boolean hasState()
- Specified by:
hasState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewState
public ContainerStatusFluent.StateNested<A> withNewState()
- Specified by:
withNewState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
withNewStateLike
public ContainerStatusFluent.StateNested<A> withNewStateLike(ContainerState item)
- Specified by:
withNewStateLike
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editState
public ContainerStatusFluent.StateNested<A> editState()
- Specified by:
editState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewState
public ContainerStatusFluent.StateNested<A> editOrNewState()
- Specified by:
editOrNewState
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
editOrNewStateLike
public ContainerStatusFluent.StateNested<A> editOrNewStateLike(ContainerState item)
- Specified by:
editOrNewStateLike
in interfaceContainerStatusFluent<A extends ContainerStatusFluent<A>>
-
-