Class DeploymentStrategy

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class DeploymentStrategy
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    DeploymentStrategy describes how to replace existing pods with new ones.
    • Constructor Detail

      • DeploymentStrategy

        public DeploymentStrategy()
    • Method Detail

      • getType

        public java.lang.String getType()
        Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
      • setType

        public void setType​(java.lang.String type)
        Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object