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

com.pulumi.github.inputs.IssueLabelsState 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 com.pulumi.github.inputs.IssueLabelsLabelArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final IssueLabelsState Empty = new IssueLabelsState();

    /**
     * List of labels
     * 
     */
    @Import(name="labels")
    private @Nullable Output> labels;

    /**
     * @return List of labels
     * 
     */
    public Optional>> labels() {
        return Optional.ofNullable(this.labels);
    }

    /**
     * The GitHub repository
     * 
     */
    @Import(name="repository")
    private @Nullable Output repository;

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

    private IssueLabelsState() {}

    private IssueLabelsState(IssueLabelsState $) {
        this.labels = $.labels;
        this.repository = $.repository;
    }

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

    public static final class Builder {
        private IssueLabelsState $;

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

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

        /**
         * @param labels List of labels
         * 
         * @return builder
         * 
         */
        public Builder labels(@Nullable Output> labels) {
            $.labels = labels;
            return this;
        }

        /**
         * @param labels List of labels
         * 
         * @return builder
         * 
         */
        public Builder labels(List labels) {
            return labels(Output.of(labels));
        }

        /**
         * @param labels List of labels
         * 
         * @return builder
         * 
         */
        public Builder labels(IssueLabelsLabelArgs... labels) {
            return labels(List.of(labels));
        }

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

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

        public IssueLabelsState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy