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

com.pulumi.aws.amplify.inputs.AppProductionBranchArgs Maven / Gradle / Ivy

// *** 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.amplify.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 AppProductionBranchArgs extends com.pulumi.resources.ResourceArgs {

    public static final AppProductionBranchArgs Empty = new AppProductionBranchArgs();

    /**
     * Branch name for the production branch.
     * 
     */
    @Import(name="branchName")
    private @Nullable Output branchName;

    /**
     * @return Branch name for the production branch.
     * 
     */
    public Optional> branchName() {
        return Optional.ofNullable(this.branchName);
    }

    /**
     * Last deploy time of the production branch.
     * 
     */
    @Import(name="lastDeployTime")
    private @Nullable Output lastDeployTime;

    /**
     * @return Last deploy time of the production branch.
     * 
     */
    public Optional> lastDeployTime() {
        return Optional.ofNullable(this.lastDeployTime);
    }

    /**
     * Status of the production branch.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Status of the production branch.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Thumbnail URL for the production branch.
     * 
     */
    @Import(name="thumbnailUrl")
    private @Nullable Output thumbnailUrl;

    /**
     * @return Thumbnail URL for the production branch.
     * 
     */
    public Optional> thumbnailUrl() {
        return Optional.ofNullable(this.thumbnailUrl);
    }

    private AppProductionBranchArgs() {}

    private AppProductionBranchArgs(AppProductionBranchArgs $) {
        this.branchName = $.branchName;
        this.lastDeployTime = $.lastDeployTime;
        this.status = $.status;
        this.thumbnailUrl = $.thumbnailUrl;
    }

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

    public static final class Builder {
        private AppProductionBranchArgs $;

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

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

        /**
         * @param branchName Branch name for the production branch.
         * 
         * @return builder
         * 
         */
        public Builder branchName(@Nullable Output branchName) {
            $.branchName = branchName;
            return this;
        }

        /**
         * @param branchName Branch name for the production branch.
         * 
         * @return builder
         * 
         */
        public Builder branchName(String branchName) {
            return branchName(Output.of(branchName));
        }

        /**
         * @param lastDeployTime Last deploy time of the production branch.
         * 
         * @return builder
         * 
         */
        public Builder lastDeployTime(@Nullable Output lastDeployTime) {
            $.lastDeployTime = lastDeployTime;
            return this;
        }

        /**
         * @param lastDeployTime Last deploy time of the production branch.
         * 
         * @return builder
         * 
         */
        public Builder lastDeployTime(String lastDeployTime) {
            return lastDeployTime(Output.of(lastDeployTime));
        }

        /**
         * @param status Status of the production branch.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of the production branch.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param thumbnailUrl Thumbnail URL for the production branch.
         * 
         * @return builder
         * 
         */
        public Builder thumbnailUrl(@Nullable Output thumbnailUrl) {
            $.thumbnailUrl = thumbnailUrl;
            return this;
        }

        /**
         * @param thumbnailUrl Thumbnail URL for the production branch.
         * 
         * @return builder
         * 
         */
        public Builder thumbnailUrl(String thumbnailUrl) {
            return thumbnailUrl(Output.of(thumbnailUrl));
        }

        public AppProductionBranchArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy