Package org.cdk8s.plus24.k8s
Class HttpGetAction.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.HttpGetAction
HttpGetAction.Builder, HttpGetAction.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(HttpGetAction.Builder builder)
Constructor that initializes the object based on literal property values passed by theHttpGetAction.Builder
.protected
Jsii$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()
boolean
equals(Object o)
String
getHost()
Host name to connect to, defaults to the pod IP.List<HttpHeader>
getHttpHeaders()
Custom headers to set in the request.String
getPath()
Path to access on the HTTP server.IntOrString
getPort()
Name or number of the port to access on the container.String
getScheme()
Scheme to use for connecting to the host.int
hashCode()
-
-
-
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:HttpGetAction
Name 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:
getPort
in interfaceHttpGetAction
-
getHost
public final String getHost()
Description copied from interface:HttpGetAction
Host name to connect to, defaults to the pod IP.You probably want to set "Host" in httpHeaders instead.
- Specified by:
getHost
in interfaceHttpGetAction
-
getHttpHeaders
public final List<HttpHeader> getHttpHeaders()
Description copied from interface:HttpGetAction
Custom headers to set in the request.HTTP allows repeated headers.
- Specified by:
getHttpHeaders
in interfaceHttpGetAction
-
getPath
public final String getPath()
Description copied from interface:HttpGetAction
Path to access on the HTTP server.- Specified by:
getPath
in interfaceHttpGetAction
-
getScheme
public final String getScheme()
Description copied from interface:HttpGetAction
Scheme to use for connecting to the host.Defaults to HTTP.
Default: HTTP.
- Specified by:
getScheme
in interfaceHttpGetAction
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-