com.pulumi.github.OrganizationSecurityManagerArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of github Show documentation
Show all versions of github Show documentation
A Pulumi package for creating and managing github cloud resources.
// *** 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 $;
}
}
}