public class V1HTTPGetAction extends Object
Constructor and Description |
---|
V1HTTPGetAction() |
Modifier and Type | Method and Description |
---|---|
V1HTTPGetAction |
addHttpHeadersItem(V1HTTPHeader httpHeadersItem) |
boolean |
equals(Object o) |
String |
getHost()
Host name to connect to, defaults to the pod IP.
|
List<V1HTTPHeader> |
getHttpHeaders()
Custom headers to set in the request.
|
String |
getPath()
Path to access on the HTTP server.
|
IntOrString |
getPort()
Name or number of the port to access on the container.
|
String |
getScheme()
Scheme to use for connecting to the host.
|
int |
hashCode() |
V1HTTPGetAction |
host(String host) |
V1HTTPGetAction |
httpHeaders(List<V1HTTPHeader> httpHeaders) |
V1HTTPGetAction |
path(String path) |
V1HTTPGetAction |
port(IntOrString port) |
V1HTTPGetAction |
scheme(String scheme) |
void |
setHost(String host) |
void |
setHttpHeaders(List<V1HTTPHeader> httpHeaders) |
void |
setPath(String path) |
void |
setPort(IntOrString port) |
void |
setScheme(String scheme) |
String |
toString() |
public V1HTTPGetAction host(String host)
public String getHost()
public void setHost(String host)
public V1HTTPGetAction httpHeaders(List<V1HTTPHeader> httpHeaders)
public V1HTTPGetAction addHttpHeadersItem(V1HTTPHeader httpHeadersItem)
public List<V1HTTPHeader> getHttpHeaders()
public void setHttpHeaders(List<V1HTTPHeader> httpHeaders)
public V1HTTPGetAction path(String path)
public String getPath()
public void setPath(String path)
public V1HTTPGetAction port(IntOrString port)
public IntOrString getPort()
public void setPort(IntOrString port)
public V1HTTPGetAction scheme(String scheme)
public String getScheme()
public void setScheme(String scheme)
Copyright © 2018. All rights reserved.