Class 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 for DeploymentSpec
    • 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.
    • 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 interface DeploymentSpec
      • 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 interface DeploymentSpec
      • 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 interface DeploymentSpec
      • 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 interface DeploymentSpec
      • 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 interface DeploymentSpec
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object