Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1HTTPGetAction
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1HTTPGetAction
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1HTTPGetAction extends Object
HTTPGetAction describes an action based on HTTP Get requests.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HOSTstatic StringJSON_PROPERTY_HTTP_HEADERSstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_PORTstatic StringJSON_PROPERTY_SCHEME
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1HTTPGetAction()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HTTP_HEADERS
public static final String JSON_PROPERTY_HTTP_HEADERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME
public static final String JSON_PROPERTY_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
host
public IoK8sApiCoreV1HTTPGetAction host(String host)
-
getHost
@Nullable public 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(String host)
-
httpHeaders
public IoK8sApiCoreV1HTTPGetAction httpHeaders(List<IoK8sApiCoreV1HTTPHeader> httpHeaders)
-
addHttpHeadersItem
public IoK8sApiCoreV1HTTPGetAction addHttpHeadersItem(IoK8sApiCoreV1HTTPHeader httpHeadersItem)
-
getHttpHeaders
@Nullable public List<IoK8sApiCoreV1HTTPHeader> getHttpHeaders()
Custom headers to set in the request. HTTP allows repeated headers.- Returns:
- httpHeaders
-
setHttpHeaders
public void setHttpHeaders(List<IoK8sApiCoreV1HTTPHeader> httpHeaders)
-
path
public IoK8sApiCoreV1HTTPGetAction path(String path)
-
getPath
@Nullable public String getPath()
Path to access on the HTTP server.- Returns:
- path
-
setPath
public void setPath(String path)
-
port
public IoK8sApiCoreV1HTTPGetAction port(String port)
-
getPort
public String 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:
- port
-
setPort
public void setPort(String port)
-
scheme
public IoK8sApiCoreV1HTTPGetAction scheme(String scheme)
-
getScheme
@Nullable public String getScheme()
Scheme to use for connecting to the host. Defaults to HTTP.- Returns:
- scheme
-
setScheme
public void setScheme(String scheme)
-
-