Package org.cdk8s.plus25
Interface ApiResourceOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApiResourceOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.142Z") @Stability(Stable) public interface ApiResourceOptions extends software.amazon.jsii.JsiiSerializable
Options forApiResource.
-
-
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
-
-