Package io.fabric8.kubernetes.api.model
Class HTTPGetActionFluentImpl<A extends HTTPGetActionFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.HTTPGetActionFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,HTTPGetActionFluent<A>
- Direct Known Subclasses:
HandlerFluentImpl.HttpGetNestedImpl
,HTTPGetActionBuilder
,ProbeFluentImpl.HttpGetNestedImpl
,WatchEventFluentImpl.HTTPGetActionObjectNestedImpl
public class HTTPGetActionFluentImpl<A extends HTTPGetActionFluent<A>> extends BaseFluent<A> implements HTTPGetActionFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
HTTPGetActionFluentImpl.HttpHeadersNestedImpl<N>
class
HTTPGetActionFluentImpl.PortNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.HTTPGetActionFluent
HTTPGetActionFluent.HttpHeadersNested<N>, HTTPGetActionFluent.PortNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description HTTPGetActionFluentImpl()
HTTPGetActionFluentImpl(HTTPGetAction instance)
-
Method Summary
-
-
-
Constructor Detail
-
HTTPGetActionFluentImpl
public HTTPGetActionFluentImpl()
-
HTTPGetActionFluentImpl
public HTTPGetActionFluentImpl(HTTPGetAction instance)
-
-
Method Detail
-
getHost
public String getHost()
- Specified by:
getHost
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withHost
public A withHost(String host)
- Specified by:
withHost
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
hasHost
public Boolean hasHost()
- Specified by:
hasHost
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewHost
public A withNewHost(String arg1)
- Specified by:
withNewHost
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewHost
public A withNewHost(StringBuilder arg1)
- Specified by:
withNewHost
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewHost
public A withNewHost(StringBuffer arg1)
- Specified by:
withNewHost
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
addToHttpHeaders
public A addToHttpHeaders(int index, HTTPHeader item)
- Specified by:
addToHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
setToHttpHeaders
public A setToHttpHeaders(int index, HTTPHeader item)
- Specified by:
setToHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
addToHttpHeaders
public A addToHttpHeaders(HTTPHeader... items)
- Specified by:
addToHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
addAllToHttpHeaders
public A addAllToHttpHeaders(Collection<HTTPHeader> items)
- Specified by:
addAllToHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
removeFromHttpHeaders
public A removeFromHttpHeaders(HTTPHeader... items)
- Specified by:
removeFromHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
removeAllFromHttpHeaders
public A removeAllFromHttpHeaders(Collection<HTTPHeader> items)
- Specified by:
removeAllFromHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
removeMatchingFromHttpHeaders
public A removeMatchingFromHttpHeaders(Predicate<HTTPHeaderBuilder> predicate)
- Specified by:
removeMatchingFromHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
getHttpHeaders
@Deprecated public List<HTTPHeader> getHttpHeaders()
Deprecated.This method has been deprecated, please use method buildHttpHeaders instead.- Specified by:
getHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
- Returns:
- The buildable object.
-
buildHttpHeaders
public List<HTTPHeader> buildHttpHeaders()
- Specified by:
buildHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
buildHttpHeader
public HTTPHeader buildHttpHeader(int index)
- Specified by:
buildHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
buildFirstHttpHeader
public HTTPHeader buildFirstHttpHeader()
- Specified by:
buildFirstHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
buildLastHttpHeader
public HTTPHeader buildLastHttpHeader()
- Specified by:
buildLastHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
buildMatchingHttpHeader
public HTTPHeader buildMatchingHttpHeader(Predicate<HTTPHeaderBuilder> predicate)
- Specified by:
buildMatchingHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
hasMatchingHttpHeader
public Boolean hasMatchingHttpHeader(Predicate<HTTPHeaderBuilder> predicate)
- Specified by:
hasMatchingHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withHttpHeaders
public A withHttpHeaders(List<HTTPHeader> httpHeaders)
- Specified by:
withHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withHttpHeaders
public A withHttpHeaders(HTTPHeader... httpHeaders)
- Specified by:
withHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
hasHttpHeaders
public Boolean hasHttpHeaders()
- Specified by:
hasHttpHeaders
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
addNewHttpHeader
public A addNewHttpHeader(String name, String value)
- Specified by:
addNewHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
addNewHttpHeader
public HTTPGetActionFluent.HttpHeadersNested<A> addNewHttpHeader()
- Specified by:
addNewHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
addNewHttpHeaderLike
public HTTPGetActionFluent.HttpHeadersNested<A> addNewHttpHeaderLike(HTTPHeader item)
- Specified by:
addNewHttpHeaderLike
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
setNewHttpHeaderLike
public HTTPGetActionFluent.HttpHeadersNested<A> setNewHttpHeaderLike(int index, HTTPHeader item)
- Specified by:
setNewHttpHeaderLike
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editHttpHeader
public HTTPGetActionFluent.HttpHeadersNested<A> editHttpHeader(int index)
- Specified by:
editHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editFirstHttpHeader
public HTTPGetActionFluent.HttpHeadersNested<A> editFirstHttpHeader()
- Specified by:
editFirstHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editLastHttpHeader
public HTTPGetActionFluent.HttpHeadersNested<A> editLastHttpHeader()
- Specified by:
editLastHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editMatchingHttpHeader
public HTTPGetActionFluent.HttpHeadersNested<A> editMatchingHttpHeader(Predicate<HTTPHeaderBuilder> predicate)
- Specified by:
editMatchingHttpHeader
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withPath
public A withPath(String path)
- Specified by:
withPath
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
hasPath
public Boolean hasPath()
- Specified by:
hasPath
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPath
public A withNewPath(String arg1)
- Specified by:
withNewPath
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPath
public A withNewPath(StringBuilder arg1)
- Specified by:
withNewPath
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPath
public A withNewPath(StringBuffer arg1)
- Specified by:
withNewPath
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
getPort
@Deprecated public IntOrString getPort()
Deprecated.This method has been deprecated, please use method buildPort instead.- Specified by:
getPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
- Returns:
- The buildable object.
-
buildPort
public IntOrString buildPort()
- Specified by:
buildPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withPort
public A withPort(IntOrString port)
- Specified by:
withPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
hasPort
public Boolean hasPort()
- Specified by:
hasPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPort
public A withNewPort(String strVal)
- Specified by:
withNewPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPort
public A withNewPort(Integer intVal)
- Specified by:
withNewPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPort
public HTTPGetActionFluent.PortNested<A> withNewPort()
- Specified by:
withNewPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewPortLike
public HTTPGetActionFluent.PortNested<A> withNewPortLike(IntOrString item)
- Specified by:
withNewPortLike
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editPort
public HTTPGetActionFluent.PortNested<A> editPort()
- Specified by:
editPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editOrNewPort
public HTTPGetActionFluent.PortNested<A> editOrNewPort()
- Specified by:
editOrNewPort
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
editOrNewPortLike
public HTTPGetActionFluent.PortNested<A> editOrNewPortLike(IntOrString item)
- Specified by:
editOrNewPortLike
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
getScheme
public String getScheme()
- Specified by:
getScheme
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withScheme
public A withScheme(String scheme)
- Specified by:
withScheme
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
hasScheme
public Boolean hasScheme()
- Specified by:
hasScheme
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewScheme
public A withNewScheme(String arg1)
- Specified by:
withNewScheme
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewScheme
public A withNewScheme(StringBuilder arg1)
- Specified by:
withNewScheme
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
withNewScheme
public A withNewScheme(StringBuffer arg1)
- Specified by:
withNewScheme
in interfaceHTTPGetActionFluent<A extends HTTPGetActionFluent<A>>
-
-