Class 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 Detail

      • DeploymentRequest

        public DeploymentRequest()
        No args constructor for use in serialization
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)