Package org.cdk8s.plus25.k8s
Interface HttpGetAction
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpGetAction.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.551Z") @Stability(Stable) public interface HttpGetAction extends software.amazon.jsii.JsiiSerializable
HTTPGetAction describes an action based on HTTP Get requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHttpGetAction.BuilderA builder forHttpGetActionstatic classHttpGetAction.Jsii$ProxyAn implementation forHttpGetAction
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static HttpGetAction.Builderbuilder()default StringgetHost()Host name to connect to, defaults to the pod IP.default List<HttpHeader>getHttpHeaders()Custom headers to set in the request.default StringgetPath()Path to access on the HTTP server.IntOrStringgetPort()Name or number of the port to access on the container.default StringgetScheme()Scheme to use for connecting to the host.
-
-
-
Method Detail
-
getPort
@Stability(Stable) @NotNull IntOrString getPort()
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.
-
getHost
@Stability(Stable) @Nullable default String getHost()
Host name to connect to, defaults to the pod IP.You probably want to set "Host" in httpHeaders instead.
-
getHttpHeaders
@Stability(Stable) @Nullable default List<HttpHeader> getHttpHeaders()
Custom headers to set in the request.HTTP allows repeated headers.
-
getPath
@Stability(Stable) @Nullable default String getPath()
Path to access on the HTTP server.
-
getScheme
@Stability(Stable) @Nullable default String getScheme()
Scheme to use for connecting to the host.Defaults to HTTP.
Default: HTTP.
-
builder
@Stability(Stable) static HttpGetAction.Builder builder()
- Returns:
- a
HttpGetAction.BuilderofHttpGetAction
-
-