Package org.cdk8s.plus25.k8s
Class HttpGetAction.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.HttpGetAction.Jsii$Proxy
-
- All Implemented Interfaces:
HttpGetAction,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- HttpGetAction
@Stability(Stable) @Internal public static final class HttpGetAction.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpGetAction
An implementation forHttpGetAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.HttpGetAction
HttpGetAction.Builder, HttpGetAction.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(HttpGetAction.Builder builder)Constructor that initializes the object based on literal property values passed by theHttpGetAction.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetHost()Host name to connect to, defaults to the pod IP.List<HttpHeader>getHttpHeaders()Custom headers to set in the request.StringgetPath()Path to access on the HTTP server.IntOrStringgetPort()Name or number of the port to access on the container.StringgetScheme()Scheme to use for connecting to the host.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(HttpGetAction.Builder builder)
Constructor that initializes the object based on literal property values passed by theHttpGetAction.Builder.
-
-
Method Detail
-
getPort
public final IntOrString getPort()
Description copied from interface:HttpGetActionName or number of the port to access on the container.Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Specified by:
getPortin interfaceHttpGetAction
-
getHost
public final String getHost()
Description copied from interface:HttpGetActionHost name to connect to, defaults to the pod IP.You probably want to set "Host" in httpHeaders instead.
- Specified by:
getHostin interfaceHttpGetAction
-
getHttpHeaders
public final List<HttpHeader> getHttpHeaders()
Description copied from interface:HttpGetActionCustom headers to set in the request.HTTP allows repeated headers.
- Specified by:
getHttpHeadersin interfaceHttpGetAction
-
getPath
public final String getPath()
Description copied from interface:HttpGetActionPath to access on the HTTP server.- Specified by:
getPathin interfaceHttpGetAction
-
getScheme
public final String getScheme()
Description copied from interface:HttpGetActionScheme to use for connecting to the host.Defaults to HTTP.
Default: HTTP.
- Specified by:
getSchemein interfaceHttpGetAction
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-