Class V1HTTPGetAction
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1HTTPGetAction
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1HTTPGetAction
extends Object
HTTPGetAction describes an action based on HTTP Get requests.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddhttpHeadersItem
(V1HTTPHeader httpHeadersItem) Add an item to the httpHeaders property in a chainable fashion.boolean
getHost()
Host name to connect to, defaults to the pod IP.List<@Valid V1HTTPHeader>
Custom headers to set in the request.getPath()
Path to access on the HTTP server.getPort()
IntOrString is a type that can hold an int32 or a string.Scheme to use for connecting to the host.int
hashCode()
Set host in a chainable fashion.httpHeaders
(List<@Valid V1HTTPHeader> httpHeaders) Set httpHeaders in a chainable fashion.Set path in a chainable fashion.Set port in a chainable fashion.Set scheme in a chainable fashion.void
Set the host property valuevoid
setHttpHeaders
(List<@Valid V1HTTPHeader> httpHeaders) Set the httpHeaders property valuevoid
Set the path property valuevoid
Set the port property valuevoid
Set the scheme property valuetoString()
-
Field Details
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_HTTP_HEADERS
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_SCHEME
- See Also:
-
-
Constructor Details
-
V1HTTPGetAction
-
-
Method Details
-
getHost
Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.- Returns:
- the host property value
-
setHost
Set the host property value -
host
Set host in a chainable fashion.- Returns:
- The same instance of V1HTTPGetAction for chaining.
-
getHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers.- Returns:
- the httpHeaders property value
-
setHttpHeaders
Set the httpHeaders property value -
httpHeaders
Set httpHeaders in a chainable fashion.- Returns:
- The same instance of V1HTTPGetAction for chaining.
-
addhttpHeadersItem
Add an item to the httpHeaders property in a chainable fashion.- Returns:
- The same instance of V1HTTPGetAction for chaining.
-
getPath
Path to access on the HTTP server.- Returns:
- the path property value
-
setPath
Set the path property value -
path
Set path in a chainable fashion.- Returns:
- The same instance of V1HTTPGetAction for chaining.
-
getPort
IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.- Returns:
- the port property value
-
setPort
Set the port property value -
port
Set port in a chainable fashion.- Returns:
- The same instance of V1HTTPGetAction for chaining.
-
getScheme
Scheme to use for connecting to the host. Defaults to HTTP.- Returns:
- the scheme property value
-
setScheme
Set the scheme property value -
scheme
Set scheme in a chainable fashion.- Returns:
- The same instance of V1HTTPGetAction for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-