Class V1DeploymentStrategy

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DeploymentStrategy

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DeploymentStrategy extends Object
DeploymentStrategy describes how to replace existing pods with new ones.
  • Field Details

  • Constructor Details

    • V1DeploymentStrategy

      public V1DeploymentStrategy()
  • Method Details

    • getRollingUpdate

      public V1RollingUpdateDeployment getRollingUpdate()
      Returns:
      the rollingUpdate property value
    • setRollingUpdate

      public void setRollingUpdate(V1RollingUpdateDeployment rollingUpdate)
      Set the rollingUpdate property value
    • rollingUpdate

      public V1DeploymentStrategy rollingUpdate(V1RollingUpdateDeployment rollingUpdate)
      Set rollingUpdate in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStrategy for chaining.
    • getType

      public String getType()
      Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
    • type

      public V1DeploymentStrategy type(String type)
      Set type in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStrategy for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object