Class CloudbuildTriggerBuildStep.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: CloudbuildTriggerBuildStep
        The name of the container image that will run this particular build step.

        If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name}

        Specified by:
        getName in interface CloudbuildTriggerBuildStep
      • getAllowExitCodes

        public final List<Number> getAllowExitCodes()
        Description copied from interface: CloudbuildTriggerBuildStep
        Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.

        If 'allowFailure' is also specified, this field will take precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#allow_exit_codes CloudbuildTrigger#allow_exit_codes}

        Specified by:
        getAllowExitCodes in interface CloudbuildTriggerBuildStep
      • getAllowFailure

        public final Object getAllowFailure()
        Description copied from interface: CloudbuildTriggerBuildStep
        Allow this build step to fail without failing the entire build.

        If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field. 'allowExitCodes' takes precedence over this field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#allow_failure CloudbuildTrigger#allow_failure}

        Specified by:
        getAllowFailure in interface CloudbuildTriggerBuildStep
      • getArgs

        public final List<String> getArgs()
        Description copied from interface: CloudbuildTriggerBuildStep
        A list of arguments that will be presented to the step when it is started.

        If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#args CloudbuildTrigger#args}

        Specified by:
        getArgs in interface CloudbuildTriggerBuildStep
      • getDir

        public final String getDir()
        Description copied from interface: CloudbuildTriggerBuildStep
        Working directory to use when running this step's container.

        If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified. If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#dir CloudbuildTrigger#dir}

        Specified by:
        getDir in interface CloudbuildTriggerBuildStep
      • getEntrypoint

        public final String getEntrypoint()
        Description copied from interface: CloudbuildTriggerBuildStep
        Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#entrypoint CloudbuildTrigger#entrypoint}

        Specified by:
        getEntrypoint in interface CloudbuildTriggerBuildStep
      • getEnv

        public final List<String> getEnv()
        Description copied from interface: CloudbuildTriggerBuildStep
        A list of environment variable definitions to be used when running a step.

        The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env}

        Specified by:
        getEnv in interface CloudbuildTriggerBuildStep
      • getId

        public final String getId()
        Description copied from interface: CloudbuildTriggerBuildStep
        Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#id CloudbuildTrigger#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Specified by:
        getId in interface CloudbuildTriggerBuildStep
      • getScript

        public final String getScript()
        Description copied from interface: CloudbuildTriggerBuildStep
        A shell script to be executed in the step.

        When script is provided, the user cannot specify the entrypoint or args. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#script CloudbuildTrigger#script}

        Specified by:
        getScript in interface CloudbuildTriggerBuildStep
      • getSecretEnv

        public final List<String> getSecretEnv()
        Description copied from interface: CloudbuildTriggerBuildStep
        A list of environment variables which are encrypted using a Cloud Key Management Service crypto key.

        These values must be specified in the build's 'Secret'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#secret_env CloudbuildTrigger#secret_env}

        Specified by:
        getSecretEnv in interface CloudbuildTriggerBuildStep
      • getTimeout

        public final String getTimeout()
        Description copied from interface: CloudbuildTriggerBuildStep
        Time limit for executing this build step.

        If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#timeout CloudbuildTrigger#timeout}

        Specified by:
        getTimeout in interface CloudbuildTriggerBuildStep
      • getTiming

        public final String getTiming()
        Description copied from interface: CloudbuildTriggerBuildStep
        Output only. Stores timing information for executing this build step.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#timing CloudbuildTrigger#timing}

        Specified by:
        getTiming in interface CloudbuildTriggerBuildStep
      • getVolumes

        public final Object getVolumes()
        Description copied from interface: CloudbuildTriggerBuildStep
        volumes block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#volumes CloudbuildTrigger#volumes}

        Specified by:
        getVolumes in interface CloudbuildTriggerBuildStep
      • getWaitFor

        public final List<String> getWaitFor()
        Description copied from interface: CloudbuildTriggerBuildStep
        The ID(s) of the step(s) that this build step depends on.

        This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#wait_for CloudbuildTrigger#wait_for}

        Specified by:
        getWaitFor in interface CloudbuildTriggerBuildStep
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object