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

com.pulumi.github.inputs.RepositoryProjectState Maven / Gradle / Ivy

There is a newer version: 6.4.0-alpha.1731735876
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.github.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 RepositoryProjectState extends com.pulumi.resources.ResourceArgs {

    public static final RepositoryProjectState Empty = new RepositoryProjectState();

    /**
     * The body of the project.
     * 
     */
    @Import(name="body")
    private @Nullable Output body;

    /**
     * @return The body of the project.
     * 
     */
    public Optional> body() {
        return Optional.ofNullable(this.body);
    }

    @Import(name="etag")
    private @Nullable Output etag;

    public Optional> etag() {
        return Optional.ofNullable(this.etag);
    }

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

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

    /**
     * The repository of the project.
     * 
     */
    @Import(name="repository")
    private @Nullable Output repository;

    /**
     * @return The repository of the project.
     * 
     */
    public Optional> repository() {
        return Optional.ofNullable(this.repository);
    }

    /**
     * URL of the project
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return URL of the project
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private RepositoryProjectState() {}

    private RepositoryProjectState(RepositoryProjectState $) {
        this.body = $.body;
        this.etag = $.etag;
        this.name = $.name;
        this.repository = $.repository;
        this.url = $.url;
    }

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

    public static final class Builder {
        private RepositoryProjectState $;

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

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

        /**
         * @param body The body of the project.
         * 
         * @return builder
         * 
         */
        public Builder body(@Nullable Output body) {
            $.body = body;
            return this;
        }

        /**
         * @param body The body of the project.
         * 
         * @return builder
         * 
         */
        public Builder body(String body) {
            return body(Output.of(body));
        }

        public Builder etag(@Nullable Output etag) {
            $.etag = etag;
            return this;
        }

        public Builder etag(String etag) {
            return etag(Output.of(etag));
        }

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

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

        /**
         * @param repository The repository of the project.
         * 
         * @return builder
         * 
         */
        public Builder repository(@Nullable Output repository) {
            $.repository = repository;
            return this;
        }

        /**
         * @param repository The repository of the project.
         * 
         * @return builder
         * 
         */
        public Builder repository(String repository) {
            return repository(Output.of(repository));
        }

        /**
         * @param url URL of the project
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url URL of the project
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public RepositoryProjectState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy