All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.codebuild.inputs.ProjectSecondarySourceBuildStatusConfigArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.codebuild.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ProjectSecondarySourceBuildStatusConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProjectSecondarySourceBuildStatusConfigArgs Empty = new ProjectSecondarySourceBuildStatusConfigArgs();

    /**
     * Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     * 
     */
    @Import(name="context")
    private @Nullable Output context;

    /**
     * @return Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     * 
     */
    public Optional> context() {
        return Optional.ofNullable(this.context);
    }

    /**
     * Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     * 
     */
    @Import(name="targetUrl")
    private @Nullable Output targetUrl;

    /**
     * @return Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     * 
     */
    public Optional> targetUrl() {
        return Optional.ofNullable(this.targetUrl);
    }

    private ProjectSecondarySourceBuildStatusConfigArgs() {}

    private ProjectSecondarySourceBuildStatusConfigArgs(ProjectSecondarySourceBuildStatusConfigArgs $) {
        this.context = $.context;
        this.targetUrl = $.targetUrl;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ProjectSecondarySourceBuildStatusConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ProjectSecondarySourceBuildStatusConfigArgs $;

        public Builder() {
            $ = new ProjectSecondarySourceBuildStatusConfigArgs();
        }

        public Builder(ProjectSecondarySourceBuildStatusConfigArgs defaults) {
            $ = new ProjectSecondarySourceBuildStatusConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param context Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
         * 
         * @return builder
         * 
         */
        public Builder context(@Nullable Output context) {
            $.context = context;
            return this;
        }

        /**
         * @param context Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
         * 
         * @return builder
         * 
         */
        public Builder context(String context) {
            return context(Output.of(context));
        }

        /**
         * @param targetUrl Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
         * 
         * @return builder
         * 
         */
        public Builder targetUrl(@Nullable Output targetUrl) {
            $.targetUrl = targetUrl;
            return this;
        }

        /**
         * @param targetUrl Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
         * 
         * @return builder
         * 
         */
        public Builder targetUrl(String targetUrl) {
            return targetUrl(Output.of(targetUrl));
        }

        public ProjectSecondarySourceBuildStatusConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy