com.pulumi.github.inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs 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.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 $;
}
}
}