Package io.fabric8.openshift.api.model
Class DeploymentRequest
- java.lang.Object
-
- io.fabric8.openshift.api.model.DeploymentRequest
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentRequestBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentRequest extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentRequestBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
DeploymentRequest is a request to a deployment config for a new deployment.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentRequest()No args constructor for use in serializationDeploymentRequest(String apiVersion, List<String> excludeTriggers, Boolean force, String kind, Boolean latest, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentRequestBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<String>getExcludeTriggers()excludeTriggers instructs the instantiator to avoid processing the specified triggers.BooleangetForce()force will try to force a new deployment to run.StringgetKind()Kind is a string value representing the REST resource this object represents.BooleangetLatest()latest will update the deployment config with the latest state from all triggers.StringgetName()name of the deployment config for requesting a new deployment.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetExcludeTriggers(List<String> excludeTriggers)excludeTriggers instructs the instantiator to avoid processing the specified triggers.voidsetForce(Boolean force)force will try to force a new deployment to run.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetLatest(Boolean latest)latest will update the deployment config with the latest state from all triggers.voidsetName(String name)name of the deployment config for requesting a new deployment.DeploymentRequestBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getExcludeTriggers
public List<String> getExcludeTriggers()
excludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified.
-
setExcludeTriggers
public void setExcludeTriggers(List<String> excludeTriggers)
excludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified.
-
getForce
public Boolean getForce()
force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error.
-
setForce
public void setForce(Boolean force)
force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error.
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getLatest
public Boolean getLatest()
latest will update the deployment config with the latest state from all triggers.
-
setLatest
public void setLatest(Boolean latest)
latest will update the deployment config with the latest state from all triggers.
-
getName
public String getName()
name of the deployment config for requesting a new deployment.
-
setName
public void setName(String name)
name of the deployment config for requesting a new deployment.
-
edit
public DeploymentRequestBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentRequestBuilder>
-
toBuilder
public DeploymentRequestBuilder toBuilder()
-
-