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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
Type of deployment.int
hashCode()
rollingUpdate
(V1RollingUpdateDeployment rollingUpdate) Set rollingUpdate in a chainable fashion.void
setRollingUpdate
(V1RollingUpdateDeployment rollingUpdate) Set the rollingUpdate property valuevoid
Set the type property valuetoString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_ROLLING_UPDATE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
V1DeploymentStrategy
public V1DeploymentStrategy()
-
-
Method Details
-
getRollingUpdate
- Returns:
- the rollingUpdate property value
-
setRollingUpdate
Set the rollingUpdate property value -
rollingUpdate
Set rollingUpdate in a chainable fashion.- Returns:
- The same instance of V1DeploymentStrategy for chaining.
-
getType
Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.- Returns:
- the type property value
-
setType
Set the type property value -
type
Set type in a chainable fashion.- Returns:
- The same instance of V1DeploymentStrategy for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-