Package org.cdk8s.plus28.k8s
Interface ContainerResizePolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ContainerResizePolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.662Z") @Stability(Stable) public interface ContainerResizePolicy extends software.amazon.jsii.JsiiSerializable
ContainerResizePolicy represents resource resize policy for the container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContainerResizePolicy.BuilderA builder forContainerResizePolicystatic classContainerResizePolicy.Jsii$ProxyAn implementation forContainerResizePolicy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ContainerResizePolicy.Builderbuilder()StringgetResourceName()Name of the resource to which this resource resize policy applies.StringgetRestartPolicy()Restart policy to apply when specified resource is resized.
-
-
-
Method Detail
-
getResourceName
@Stability(Stable) @NotNull String getResourceName()
Name of the resource to which this resource resize policy applies.Supported values: cpu, memory.
-
getRestartPolicy
@Stability(Stable) @NotNull String getRestartPolicy()
Restart policy to apply when specified resource is resized.If not specified, it defaults to NotRequired.
-
builder
@Stability(Stable) static ContainerResizePolicy.Builder builder()
- Returns:
- a
ContainerResizePolicy.BuilderofContainerResizePolicy
-
-