Class DeploymentSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.DeploymentSpec
DeploymentSpec.Builder, DeploymentSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(DeploymentSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theDeploymentSpec.Builder
.protected
Jsii$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()
boolean
equals(Object o)
Number
getMinReadySeconds()
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.Boolean
getPaused()
Indicates that the deployment is paused.Number
getProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it is considered to be failed.Number
getReplicas()
Number of desired pods.Number
getRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback.LabelSelector
getSelector()
Label selector for pods.DeploymentStrategy
getStrategy()
The deployment strategy to use to replace existing pods with new ones.PodTemplateSpec
getTemplate()
Template describes the pods that will be created.int
hashCode()
-
-
-
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:DeploymentSpec
Label 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:
getSelector
in interfaceDeploymentSpec
-
getTemplate
public final PodTemplateSpec getTemplate()
Description copied from interface:DeploymentSpec
Template describes the pods that will be created.- Specified by:
getTemplate
in interfaceDeploymentSpec
-
getMinReadySeconds
public final Number getMinReadySeconds()
Description copied from interface:DeploymentSpec
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.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:
getMinReadySeconds
in interfaceDeploymentSpec
-
getPaused
public final Boolean getPaused()
Description copied from interface:DeploymentSpec
Indicates that the deployment is paused.- Specified by:
getPaused
in interfaceDeploymentSpec
-
getProgressDeadlineSeconds
public final Number getProgressDeadlineSeconds()
Description copied from interface:DeploymentSpec
The 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:
getProgressDeadlineSeconds
in interfaceDeploymentSpec
-
getReplicas
public final Number getReplicas()
Description copied from interface:DeploymentSpec
Number of desired pods.This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
Default: 1.
- Specified by:
getReplicas
in interfaceDeploymentSpec
-
getRevisionHistoryLimit
public final Number getRevisionHistoryLimit()
Description copied from interface:DeploymentSpec
The 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:
getRevisionHistoryLimit
in interfaceDeploymentSpec
-
getStrategy
public final DeploymentStrategy getStrategy()
Description copied from interface:DeploymentSpec
The deployment strategy to use to replace existing pods with new ones.- Specified by:
getStrategy
in interfaceDeploymentSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-