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 Object
HTTPGetAction describes an action based on HTTP Get requests.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate List<V1HTTPHeader> private Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHttpHeadersItem(V1HTTPHeader httpHeadersItem) booleangetHost()Host name to connect to, defaults to the pod IP.Custom headers to set in the request.getPath()Path to access on the HTTP server.Scheme to use for connecting to the host.inthashCode()httpHeaders(List<V1HTTPHeader> httpHeaders) voidvoidsetHttpHeaders(List<V1HTTPHeader> httpHeaders) voidvoidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
host
-
httpHeaders
-
path
-
scheme
-
-
Constructor Details
-
V1HTTPGetAction
public V1HTTPGetAction()
-
-
Method Details
-
host
-
getHost
Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.- Returns:
- host
-
setHost
-
httpHeaders
-
addHttpHeadersItem
-
getHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers.- Returns:
- httpHeaders
-
setHttpHeaders
-
path
-
getPath
Path to access on the HTTP server.- Returns:
- path
-
setPath
-
scheme
-
getScheme
Scheme to use for connecting to the host. Defaults to HTTP.- Returns:
- scheme
-
setScheme
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-