Package kubevirt.io
Class V1HTTPGetAction
- java.lang.Object
-
- kubevirt.io.V1HTTPGetAction
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1HTTPGetAction extends java.lang.ObjectHTTPGetAction describes an action based on HTTP Get requests.
-
-
Constructor Summary
Constructors Constructor Description V1HTTPGetAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1HTTPGetActionaddHttpHeadersItem(V1HTTPHeader httpHeadersItem)booleanequals(java.lang.Object o)java.lang.StringgetHost()Host name to connect to, defaults to the pod IP.java.util.List<V1HTTPHeader>getHttpHeaders()Custom headers to set in the request.java.lang.StringgetPath()Path to access on the HTTP server.java.lang.StringgetScheme()Scheme to use for connecting to the host.inthashCode()V1HTTPGetActionhost(java.lang.String host)V1HTTPGetActionhttpHeaders(java.util.List<V1HTTPHeader> httpHeaders)V1HTTPGetActionpath(java.lang.String path)V1HTTPGetActionscheme(java.lang.String scheme)voidsetHost(java.lang.String host)voidsetHttpHeaders(java.util.List<V1HTTPHeader> httpHeaders)voidsetPath(java.lang.String path)voidsetScheme(java.lang.String scheme)java.lang.StringtoString()
-
-
-
Method Detail
-
host
public V1HTTPGetAction host(java.lang.String host)
-
getHost
public java.lang.String getHost()
Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.- Returns:
- host
-
setHost
public void setHost(java.lang.String host)
-
httpHeaders
public V1HTTPGetAction httpHeaders(java.util.List<V1HTTPHeader> httpHeaders)
-
addHttpHeadersItem
public V1HTTPGetAction addHttpHeadersItem(V1HTTPHeader httpHeadersItem)
-
getHttpHeaders
public java.util.List<V1HTTPHeader> getHttpHeaders()
Custom headers to set in the request. HTTP allows repeated headers.- Returns:
- httpHeaders
-
setHttpHeaders
public void setHttpHeaders(java.util.List<V1HTTPHeader> httpHeaders)
-
path
public V1HTTPGetAction path(java.lang.String path)
-
getPath
public java.lang.String getPath()
Path to access on the HTTP server.- Returns:
- path
-
setPath
public void setPath(java.lang.String path)
-
scheme
public V1HTTPGetAction scheme(java.lang.String scheme)
-
getScheme
public java.lang.String getScheme()
Scheme to use for connecting to the host. Defaults to HTTP.- Returns:
- scheme
-
setScheme
public void setScheme(java.lang.String scheme)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-