Class CloudbuildTriggerBuildStep.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloudbuild_trigger.CloudbuildTriggerBuildStep.Jsii$Proxy
-
- All Implemented Interfaces:
CloudbuildTriggerBuildStep,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudbuildTriggerBuildStep
@Stability(Stable) @Internal public static final class CloudbuildTriggerBuildStep.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudbuildTriggerBuildStep
An implementation forCloudbuildTriggerBuildStep
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.cloudbuild_trigger.CloudbuildTriggerBuildStep
CloudbuildTriggerBuildStep.Builder, CloudbuildTriggerBuildStep.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudbuildTriggerBuildStep.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudbuildTriggerBuildStep.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)List<Number>getAllowExitCodes()Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.ObjectgetAllowFailure()Allow this build step to fail without failing the entire build.List<String>getArgs()A list of arguments that will be presented to the step when it is started.StringgetDir()Working directory to use when running this step's container.StringgetEntrypoint()Entrypoint to be used instead of the build step image's default entrypoint.List<String>getEnv()A list of environment variable definitions to be used when running a step.StringgetId()Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.StringgetName()The name of the container image that will run this particular build step.StringgetScript()A shell script to be executed in the step.List<String>getSecretEnv()A list of environment variables which are encrypted using a Cloud Key Management Service crypto key.StringgetTimeout()Time limit for executing this build step.StringgetTiming()Output only.ObjectgetVolumes()volumes block.List<String>getWaitFor()The ID(s) of the step(s) that this build step depends on.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(CloudbuildTriggerBuildStep.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudbuildTriggerBuildStep.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:CloudbuildTriggerBuildStepThe 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:
getNamein interfaceCloudbuildTriggerBuildStep
-
getAllowExitCodes
public final List<Number> getAllowExitCodes()
Description copied from interface:CloudbuildTriggerBuildStepAllow 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:
getAllowExitCodesin interfaceCloudbuildTriggerBuildStep
-
getAllowFailure
public final Object getAllowFailure()
Description copied from interface:CloudbuildTriggerBuildStepAllow 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:
getAllowFailurein interfaceCloudbuildTriggerBuildStep
-
getArgs
public final List<String> getArgs()
Description copied from interface:CloudbuildTriggerBuildStepA 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:
getArgsin interfaceCloudbuildTriggerBuildStep
-
getDir
public final String getDir()
Description copied from interface:CloudbuildTriggerBuildStepWorking 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:
getDirin interfaceCloudbuildTriggerBuildStep
-
getEntrypoint
public final String getEntrypoint()
Description copied from interface:CloudbuildTriggerBuildStepEntrypoint 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:
getEntrypointin interfaceCloudbuildTriggerBuildStep
-
getEnv
public final List<String> getEnv()
Description copied from interface:CloudbuildTriggerBuildStepA 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:
getEnvin interfaceCloudbuildTriggerBuildStep
-
getId
public final String getId()
Description copied from interface:CloudbuildTriggerBuildStepUnique 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:
getIdin interfaceCloudbuildTriggerBuildStep
-
getScript
public final String getScript()
Description copied from interface:CloudbuildTriggerBuildStepA 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:
getScriptin interfaceCloudbuildTriggerBuildStep
-
getSecretEnv
public final List<String> getSecretEnv()
Description copied from interface:CloudbuildTriggerBuildStepA 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:
getSecretEnvin interfaceCloudbuildTriggerBuildStep
-
getTimeout
public final String getTimeout()
Description copied from interface:CloudbuildTriggerBuildStepTime 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:
getTimeoutin interfaceCloudbuildTriggerBuildStep
-
getTiming
public final String getTiming()
Description copied from interface:CloudbuildTriggerBuildStepOutput 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:
getTimingin interfaceCloudbuildTriggerBuildStep
-
getVolumes
public final Object getVolumes()
Description copied from interface:CloudbuildTriggerBuildStepvolumes 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:
getVolumesin interfaceCloudbuildTriggerBuildStep
-
getWaitFor
public final List<String> getWaitFor()
Description copied from interface:CloudbuildTriggerBuildStepThe 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:
getWaitForin interfaceCloudbuildTriggerBuildStep
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-