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

com.pulumi.aws.codecatalyst.inputs.SourceRepositoryState Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.codecatalyst.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 SourceRepositoryState extends com.pulumi.resources.ResourceArgs {

    public static final SourceRepositoryState Empty = new SourceRepositoryState();

    /**
     * The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name of the source repository. For more information about name requirements, see [Quotas for source repositories](https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html).
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the source repository. For more information about name requirements, see [Quotas for source repositories](https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html).
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the project in the CodeCatalyst space.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="projectName")
    private @Nullable Output projectName;

    /**
     * @return The name of the project in the CodeCatalyst space.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> projectName() {
        return Optional.ofNullable(this.projectName);
    }

    /**
     * The name of the CodeCatalyst space.
     * 
     */
    @Import(name="spaceName")
    private @Nullable Output spaceName;

    /**
     * @return The name of the CodeCatalyst space.
     * 
     */
    public Optional> spaceName() {
        return Optional.ofNullable(this.spaceName);
    }

    private SourceRepositoryState() {}

    private SourceRepositoryState(SourceRepositoryState $) {
        this.description = $.description;
        this.name = $.name;
        this.projectName = $.projectName;
        this.spaceName = $.spaceName;
    }

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

    public static final class Builder {
        private SourceRepositoryState $;

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

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

        /**
         * @param description The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name The name of the source repository. For more information about name requirements, see [Quotas for source repositories](https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html).
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the source repository. For more information about name requirements, see [Quotas for source repositories](https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html).
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param projectName The name of the project in the CodeCatalyst space.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder projectName(@Nullable Output projectName) {
            $.projectName = projectName;
            return this;
        }

        /**
         * @param projectName The name of the project in the CodeCatalyst space.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder projectName(String projectName) {
            return projectName(Output.of(projectName));
        }

        /**
         * @param spaceName The name of the CodeCatalyst space.
         * 
         * @return builder
         * 
         */
        public Builder spaceName(@Nullable Output spaceName) {
            $.spaceName = spaceName;
            return this;
        }

        /**
         * @param spaceName The name of the CodeCatalyst space.
         * 
         * @return builder
         * 
         */
        public Builder spaceName(String spaceName) {
            return spaceName(Output.of(spaceName));
        }

        public SourceRepositoryState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy