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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()Type of deployment.inthashCode()rollingUpdate(V1RollingUpdateDeployment rollingUpdate) Set rollingUpdate in a chainable fashion.voidsetRollingUpdate(V1RollingUpdateDeployment rollingUpdate) Set the rollingUpdate property valuevoidSet 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- Parameters:
rollingUpdate- property value to set
-
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- Parameters:
type- property value to set
-
type
Set type in a chainable fashion.- Returns:
- The same instance of V1DeploymentStrategy for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-