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

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

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.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 OrganizationProjectState extends com.pulumi.resources.ResourceArgs {

    public static final OrganizationProjectState Empty = new OrganizationProjectState();

    /**
     * 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);
    }

    /**
     * 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 OrganizationProjectState() {}

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

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

    public static final class Builder {
        private OrganizationProjectState $;

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

        public Builder(OrganizationProjectState defaults) {
            $ = new OrganizationProjectState(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 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 OrganizationProjectState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy