Package org.cdk8s
Interface ApiObjectProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApiObjectProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-07-17T00:29:41.252Z") @Stability(Stable) public interface ApiObjectProps extends software.amazon.jsii.JsiiSerializable
Options for defining API objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ApiObjectProps.Builder
A builder forApiObjectProps
static class
ApiObjectProps.Jsii$Proxy
An implementation forApiObjectProps
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ApiObjectProps.Builder
builder()
String
getApiVersion()
API version.String
getKind()
Resource kind.default ApiObjectMetadata
getMetadata()
Object metadata.
-
-
-
Method Detail
-
getApiVersion
@Stability(Stable) @NotNull String getApiVersion()
API version.
-
getKind
@Stability(Stable) @NotNull String getKind()
Resource kind.
-
getMetadata
@Stability(Stable) @Nullable default ApiObjectMetadata getMetadata()
Object metadata.If
name
is not specified, an app-unique name will be allocated by the framework based on the path of the construct within thes construct tree.
-
builder
@Stability(Stable) static ApiObjectProps.Builder builder()
- Returns:
- a
ApiObjectProps.Builder
ofApiObjectProps
-
-