Class DeploymentSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.DeploymentSpec.Jsii$Proxy
-
- All Implemented Interfaces:
DeploymentSpec,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DeploymentSpec
@Stability(Stable) @Internal public static final class DeploymentSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DeploymentSpec
An implementation forDeploymentSpec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.DeploymentSpec
DeploymentSpec.Builder, DeploymentSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(DeploymentSpec.Builder builder)Constructor that initializes the object based on literal property values passed by theDeploymentSpec.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetMinReadySeconds()Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.BooleangetPaused()Indicates that the deployment is paused.NumbergetProgressDeadlineSeconds()The maximum time in seconds for a deployment to make progress before it is considered to be failed.NumbergetReplicas()Number of desired pods.NumbergetRevisionHistoryLimit()The number of old ReplicaSets to retain to allow rollback.LabelSelectorgetSelector()Label selector for pods.DeploymentStrategygetStrategy()The deployment strategy to use to replace existing pods with new ones.PodTemplateSpecgetTemplate()Template describes the pods that will be created.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(DeploymentSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theDeploymentSpec.Builder.
-
-
Method Detail
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:DeploymentSpecLabel selector for pods.Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
- Specified by:
getSelectorin interfaceDeploymentSpec
-
getTemplate
public final PodTemplateSpec getTemplate()
Description copied from interface:DeploymentSpecTemplate describes the pods that will be created.- Specified by:
getTemplatein interfaceDeploymentSpec
-
getMinReadySeconds
public final Number getMinReadySeconds()
Description copied from interface:DeploymentSpecMinimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.Defaults to 0 (pod will be considered available as soon as it is ready)
Default: 0 (pod will be considered available as soon as it is ready)
- Specified by:
getMinReadySecondsin interfaceDeploymentSpec
-
getPaused
public final Boolean getPaused()
Description copied from interface:DeploymentSpecIndicates that the deployment is paused.- Specified by:
getPausedin interfaceDeploymentSpec
-
getProgressDeadlineSeconds
public final Number getProgressDeadlineSeconds()
Description copied from interface:DeploymentSpecThe maximum time in seconds for a deployment to make progress before it is considered to be failed.The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
Default: 600s.
- Specified by:
getProgressDeadlineSecondsin interfaceDeploymentSpec
-
getReplicas
public final Number getReplicas()
Description copied from interface:DeploymentSpecNumber of desired pods.This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
Default: 1.
- Specified by:
getReplicasin interfaceDeploymentSpec
-
getRevisionHistoryLimit
public final Number getRevisionHistoryLimit()
Description copied from interface:DeploymentSpecThe number of old ReplicaSets to retain to allow rollback.This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
Default: 10.
- Specified by:
getRevisionHistoryLimitin interfaceDeploymentSpec
-
getStrategy
public final DeploymentStrategy getStrategy()
Description copied from interface:DeploymentSpecThe deployment strategy to use to replace existing pods with new ones.- Specified by:
getStrategyin interfaceDeploymentSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-