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

com.pulumi.github.inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs 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.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;


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

    public static final ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs Empty = new ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs();

    /**
     * List of repository IDs to enable for GitHub Actions.
     * 
     */
    @Import(name="repositoryIds", required=true)
    private Output> repositoryIds;

    /**
     * @return List of repository IDs to enable for GitHub Actions.
     * 
     */
    public Output> repositoryIds() {
        return this.repositoryIds;
    }

    private ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs() {}

    private ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs(ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs $) {
        this.repositoryIds = $.repositoryIds;
    }

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

    public static final class Builder {
        private ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs $;

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

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

        /**
         * @param repositoryIds List of repository IDs to enable for GitHub Actions.
         * 
         * @return builder
         * 
         */
        public Builder repositoryIds(Output> repositoryIds) {
            $.repositoryIds = repositoryIds;
            return this;
        }

        /**
         * @param repositoryIds List of repository IDs to enable for GitHub Actions.
         * 
         * @return builder
         * 
         */
        public Builder repositoryIds(List repositoryIds) {
            return repositoryIds(Output.of(repositoryIds));
        }

        /**
         * @param repositoryIds List of repository IDs to enable for GitHub Actions.
         * 
         * @return builder
         * 
         */
        public Builder repositoryIds(Integer... repositoryIds) {
            return repositoryIds(List.of(repositoryIds));
        }

        public ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs build() {
            if ($.repositoryIds == null) {
                throw new MissingRequiredPropertyException("ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs", "repositoryIds");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy