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

com.pulumi.github.OrganizationSecurityManagerArgs 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;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final OrganizationSecurityManagerArgs Empty = new OrganizationSecurityManagerArgs();

    /**
     * The slug of the team to manage.
     * 
     */
    @Import(name="teamSlug", required=true)
    private Output teamSlug;

    /**
     * @return The slug of the team to manage.
     * 
     */
    public Output teamSlug() {
        return this.teamSlug;
    }

    private OrganizationSecurityManagerArgs() {}

    private OrganizationSecurityManagerArgs(OrganizationSecurityManagerArgs $) {
        this.teamSlug = $.teamSlug;
    }

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

    public static final class Builder {
        private OrganizationSecurityManagerArgs $;

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

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

        /**
         * @param teamSlug The slug of the team to manage.
         * 
         * @return builder
         * 
         */
        public Builder teamSlug(Output teamSlug) {
            $.teamSlug = teamSlug;
            return this;
        }

        /**
         * @param teamSlug The slug of the team to manage.
         * 
         * @return builder
         * 
         */
        public Builder teamSlug(String teamSlug) {
            return teamSlug(Output.of(teamSlug));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy