Package org.cdk8s.plus24.k8s
Interface CustomResourceSubresources
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CustomResourceSubresources.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.384Z") @Stability(Stable) public interface CustomResourceSubresources extends software.amazon.jsii.JsiiSerializable
CustomResourceSubresources defines the status and scale subresources for CustomResources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CustomResourceSubresources.Builder
A builder forCustomResourceSubresources
static class
CustomResourceSubresources.Jsii$Proxy
An implementation forCustomResourceSubresources
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CustomResourceSubresources.Builder
builder()
default CustomResourceSubresourceScale
getScale()
scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.default Object
getStatus()
status indicates the custom resource should serve a `/status` subresource.
-
-
-
Method Detail
-
getScale
@Stability(Stable) @Nullable default CustomResourceSubresourceScale getScale()
scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.
-
getStatus
@Stability(Stable) @Nullable default Object getStatus()
status indicates the custom resource should serve a `/status` subresource.When enabled: 1. requests to the custom resource primary endpoint ignore changes to the
status
stanza of the object. 2. requests to the custom resource/status
subresource ignore changes to anything other than thestatus
stanza of the object.
-
builder
@Stability(Stable) static CustomResourceSubresources.Builder builder()
- Returns:
- a
CustomResourceSubresources.Builder
ofCustomResourceSubresources
-
-