Package io.fabric8.kubernetes.api.model
Class HTTPGetAction
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.HTTPGetAction
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HTTPGetActionBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HTTPGetAction extends Object implements io.fabric8.kubernetes.api.builder.Editable<HTTPGetActionBuilder>, KubernetesResource
HTTPGetAction describes an action based on HTTP Get requests.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPGetAction()
No args constructor for use in serializationHTTPGetAction(String host, List<HTTPHeader> httpHeaders, String path, IntOrString port, String scheme)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPGetActionBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getHost()
Host name to connect to, defaults to the pod IP.List<HTTPHeader>
getHttpHeaders()
Custom headers to set in the request.String
getPath()
Path to access on the HTTP server.IntOrString
getPort()
HTTPGetAction describes an action based on HTTP Get requests.String
getScheme()
Scheme to use for connecting to the host.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setHost(String host)
Host name to connect to, defaults to the pod IP.void
setHttpHeaders(List<HTTPHeader> httpHeaders)
Custom headers to set in the request.void
setPath(String path)
Path to access on the HTTP server.void
setPort(IntOrString port)
HTTPGetAction describes an action based on HTTP Get requests.void
setScheme(String scheme)
Scheme to use for connecting to the host.HTTPGetActionBuilder
toBuilder()
-
-
-
Constructor Detail
-
HTTPGetAction
public HTTPGetAction()
No args constructor for use in serialization
-
HTTPGetAction
public HTTPGetAction(String host, List<HTTPHeader> httpHeaders, String path, IntOrString port, String scheme)
-
-
Method Detail
-
getHost
public String getHost()
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
-
setHost
public void setHost(String host)
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
-
getHttpHeaders
public List<HTTPHeader> getHttpHeaders()
Custom headers to set in the request. HTTP allows repeated headers.
-
setHttpHeaders
public void setHttpHeaders(List<HTTPHeader> httpHeaders)
Custom headers to set in the request. HTTP allows repeated headers.
-
getPath
public String getPath()
Path to access on the HTTP server.
-
setPath
public void setPath(String path)
Path to access on the HTTP server.
-
getPort
public IntOrString getPort()
HTTPGetAction describes an action based on HTTP Get requests.
-
setPort
public void setPort(IntOrString port)
HTTPGetAction describes an action based on HTTP Get requests.
-
getScheme
public String getScheme()
Scheme to use for connecting to the host. Defaults to HTTP.
-
setScheme
public void setScheme(String scheme)
Scheme to use for connecting to the host. Defaults to HTTP.
-
edit
public HTTPGetActionBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<HTTPGetActionBuilder>
-
toBuilder
public HTTPGetActionBuilder toBuilder()
-
-