Package io.fabric8.openshift.api.model
Class DeploymentStrategy
java.lang.Object
io.fabric8.openshift.api.model.DeploymentStrategy
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class DeploymentStrategy extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DeploymentStrategy()No args constructor for use in serializationDeploymentStrategy(Long activeDeadlineSeconds, Map<String,String> annotations, CustomDeploymentStrategyParams customParams, Map<String,String> labels, RecreateDeploymentStrategyParams recreateParams, io.fabric8.kubernetes.api.model.ResourceRequirements resources, RollingDeploymentStrategyParams rollingParams, String type) -
Method Summary
Modifier and Type Method Description LonggetActiveDeadlineSeconds()Map<String,Object>getAdditionalProperties()Map<String,String>getAnnotations()CustomDeploymentStrategyParamsgetCustomParams()Map<String,String>getLabels()RecreateDeploymentStrategyParamsgetRecreateParams()io.fabric8.kubernetes.api.model.ResourceRequirementsgetResources()RollingDeploymentStrategyParamsgetRollingParams()StringgetType()voidsetActiveDeadlineSeconds(Long activeDeadlineSeconds)voidsetAdditionalProperty(String name, Object value)voidsetAnnotations(Map<String,String> annotations)voidsetCustomParams(CustomDeploymentStrategyParams customParams)voidsetLabels(Map<String,String> labels)voidsetRecreateParams(RecreateDeploymentStrategyParams recreateParams)voidsetResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)voidsetRollingParams(RollingDeploymentStrategyParams rollingParams)voidsetType(String type)
-
Constructor Details
-
DeploymentStrategy
public DeploymentStrategy()No args constructor for use in serialization -
DeploymentStrategy
public DeploymentStrategy(Long activeDeadlineSeconds, Map<String,String> annotations, CustomDeploymentStrategyParams customParams, Map<String,String> labels, RecreateDeploymentStrategyParams recreateParams, io.fabric8.kubernetes.api.model.ResourceRequirements resources, RollingDeploymentStrategyParams rollingParams, String type)- Parameters:
recreateParams-rollingParams-customParams-annotations-resources-type-activeDeadlineSeconds-labels-
-
-
Method Details
-
getActiveDeadlineSeconds
- Returns:
- The activeDeadlineSeconds
-
setActiveDeadlineSeconds
- Parameters:
activeDeadlineSeconds- The activeDeadlineSeconds
-
getAnnotations
- Returns:
- The annotations
-
setAnnotations
- Parameters:
annotations- The annotations
-
getCustomParams
- Returns:
- The customParams
-
setCustomParams
- Parameters:
customParams- The customParams
-
getLabels
- Returns:
- The labels
-
setLabels
- Parameters:
labels- The labels
-
getRecreateParams
- Returns:
- The recreateParams
-
setRecreateParams
- Parameters:
recreateParams- The recreateParams
-
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()- Returns:
- The resources
-
setResources
public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)- Parameters:
resources- The resources
-
getRollingParams
- Returns:
- The rollingParams
-
setRollingParams
- Parameters:
rollingParams- The rollingParams
-
getType
- Returns:
- The type
-
setType
- Parameters:
type- The type
-
getAdditionalProperties
-
setAdditionalProperty
-