Class BuildRequest

    • 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
        Specified by:
        getApiVersion in interface HasMetadata
      • 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
        Specified by:
        setApiVersion in interface HasMetadata
      • getBinary

        public BinaryBuildSource getBinary()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • setBinary

        public void setBinary​(BinaryBuildSource binary)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • getDockerStrategyOptions

        public DockerStrategyOptions getDockerStrategyOptions()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • setDockerStrategyOptions

        public void setDockerStrategyOptions​(DockerStrategyOptions dockerStrategyOptions)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • getEnv

        public List<EnvVar> getEnv()
        env contains additional environment variables you want to pass into a builder container.
      • setEnv

        public void setEnv​(List<EnvVar> env)
        env contains additional environment variables you want to pass into a builder container.
      • getFrom

        public ObjectReference getFrom()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • setFrom

        public void setFrom​(ObjectReference from)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • 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
        Specified by:
        getKind in interface HasMetadata
      • 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
      • getLastVersion

        public Long getLastVersion()
        lastVersion (optional) is the LastVersion of the BuildConfig that was used to generate the build. If the BuildConfig in the generator doesn't match, a build will not be generated.
      • setLastVersion

        public void setLastVersion​(Long lastVersion)
        lastVersion (optional) is the LastVersion of the BuildConfig that was used to generate the build. If the BuildConfig in the generator doesn't match, a build will not be generated.
      • getMetadata

        public ObjectMeta getMetadata()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

        Specified by:
        getMetadata in interface HasMetadata
      • setMetadata

        public void setMetadata​(ObjectMeta metadata)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

        Specified by:
        setMetadata in interface HasMetadata
      • getRevision

        public SourceRevision getRevision()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • setRevision

        public void setRevision​(SourceRevision revision)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • getSourceStrategyOptions

        public SourceStrategyOptions getSourceStrategyOptions()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • setSourceStrategyOptions

        public void setSourceStrategyOptions​(SourceStrategyOptions sourceStrategyOptions)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • getTriggeredBy

        public List<BuildTriggerCause> getTriggeredBy()
        triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers.
      • setTriggeredBy

        public void setTriggeredBy​(List<BuildTriggerCause> triggeredBy)
        triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers.
      • getTriggeredByImage

        public ObjectReference getTriggeredByImage()
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • setTriggeredByImage

        public void setTriggeredByImage​(ObjectReference triggeredByImage)
        BuildRequest is the resource used to pass parameters to build generator


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • getAdditionalProperties

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

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

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