Package org.cdk8s.plus24
Interface ApiResourceOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApiResourceOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T02:54:19.155Z") @Stability(Stable) public interface ApiResourceOptions extends software.amazon.jsii.JsiiSerializable
Options for `ApiResource`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classApiResourceOptions.BuilderA builder forApiResourceOptionsstatic classApiResourceOptions.Jsii$ProxyAn implementation forApiResourceOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ApiResourceOptions.Builderbuilder()StringgetApiGroup()The group portion of the API version (e.g.StringgetResourceType()The name of the resource type as it appears in the relevant API endpoint.
-
-
-
Method Detail
-
getApiGroup
@Stability(Stable) @NotNull String getApiGroup()
The group portion of the API version (e.g. `authorization.k8s.io`).
-
getResourceType
@Stability(Stable) @NotNull String getResourceType()
The name of the resource type as it appears in the relevant API endpoint.Example:
- "pods" or "pods/log"
-
builder
@Stability(Stable) static ApiResourceOptions.Builder builder()
- Returns:
- a
ApiResourceOptions.BuilderofApiResourceOptions
-
-