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.Object
HTTPGetAction 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 V1HTTPGetAction
addHttpHeadersItem(V1HTTPHeader httpHeadersItem)
boolean
equals(java.lang.Object o)
java.lang.String
getHost()
Host name to connect to, defaults to the pod IP.java.util.List<V1HTTPHeader>
getHttpHeaders()
Custom headers to set in the request.java.lang.String
getPath()
Path to access on the HTTP server.java.lang.String
getScheme()
Scheme to use for connecting to the host.int
hashCode()
V1HTTPGetAction
host(java.lang.String host)
V1HTTPGetAction
httpHeaders(java.util.List<V1HTTPHeader> httpHeaders)
V1HTTPGetAction
path(java.lang.String path)
V1HTTPGetAction
scheme(java.lang.String scheme)
void
setHost(java.lang.String host)
void
setHttpHeaders(java.util.List<V1HTTPHeader> httpHeaders)
void
setPath(java.lang.String path)
void
setScheme(java.lang.String scheme)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-