Package io.fabric8.kubernetes.api.model
Class NamedContextFluentImpl<A extends NamedContextFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.NamedContextFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,NamedContextFluent<A>
- Direct Known Subclasses:
ConfigFluentImpl.ContextsNestedImpl,NamedContextBuilder,WatchEventFluentImpl.NamedContextObjectNestedImpl
public class NamedContextFluentImpl<A extends NamedContextFluent<A>> extends BaseFluent<A> implements NamedContextFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classNamedContextFluentImpl.ContextNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.NamedContextFluent
NamedContextFluent.ContextNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description NamedContextFluentImpl()NamedContextFluentImpl(NamedContext instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContextbuildContext()NamedContextFluent.ContextNested<A>editContext()NamedContextFluent.ContextNested<A>editOrNewContext()NamedContextFluent.ContextNested<A>editOrNewContextLike(Context item)booleanequals(Object o)ContextgetContext()Deprecated.StringgetName()BooleanhasContext()inthashCode()BooleanhasName()AwithContext(Context context)AwithName(String name)NamedContextFluent.ContextNested<A>withNewContext()NamedContextFluent.ContextNested<A>withNewContextLike(Context item)AwithNewName(String arg1)AwithNewName(StringBuffer arg1)AwithNewName(StringBuilder arg1)
-
-
-
Constructor Detail
-
NamedContextFluentImpl
public NamedContextFluentImpl()
-
NamedContextFluentImpl
public NamedContextFluentImpl(NamedContext instance)
-
-
Method Detail
-
getContext
@Deprecated public Context getContext()
Deprecated.This method has been deprecated, please use method buildContext instead.- Specified by:
getContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>- Returns:
- The buildable object.
-
buildContext
public Context buildContext()
- Specified by:
buildContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withContext
public A withContext(Context context)
- Specified by:
withContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
hasContext
public Boolean hasContext()
- Specified by:
hasContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withNewContext
public NamedContextFluent.ContextNested<A> withNewContext()
- Specified by:
withNewContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withNewContextLike
public NamedContextFluent.ContextNested<A> withNewContextLike(Context item)
- Specified by:
withNewContextLikein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
editContext
public NamedContextFluent.ContextNested<A> editContext()
- Specified by:
editContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
editOrNewContext
public NamedContextFluent.ContextNested<A> editOrNewContext()
- Specified by:
editOrNewContextin interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
editOrNewContextLike
public NamedContextFluent.ContextNested<A> editOrNewContextLike(Context item)
- Specified by:
editOrNewContextLikein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
getName
public String getName()
- Specified by:
getNamein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceNamedContextFluent<A extends NamedContextFluent<A>>
-
-