
com.pulumi.github.outputs.GetOrganizationTeamSyncGroupsResult Maven / Gradle / Ivy
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.github.outputs.GetOrganizationTeamSyncGroupsGroup;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetOrganizationTeamSyncGroupsResult {
/**
* @return An Array of GitHub Identity Provider Groups. Each `group` block consists of the fields documented below.
*
*/
private List groups;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private GetOrganizationTeamSyncGroupsResult() {}
/**
* @return An Array of GitHub Identity Provider Groups. Each `group` block consists of the fields documented below.
*
*/
public List groups() {
return this.groups;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetOrganizationTeamSyncGroupsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List groups;
private String id;
public Builder() {}
public Builder(GetOrganizationTeamSyncGroupsResult defaults) {
Objects.requireNonNull(defaults);
this.groups = defaults.groups;
this.id = defaults.id;
}
@CustomType.Setter
public Builder groups(List groups) {
if (groups == null) {
throw new MissingRequiredPropertyException("GetOrganizationTeamSyncGroupsResult", "groups");
}
this.groups = groups;
return this;
}
public Builder groups(GetOrganizationTeamSyncGroupsGroup... groups) {
return groups(List.of(groups));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetOrganizationTeamSyncGroupsResult", "id");
}
this.id = id;
return this;
}
public GetOrganizationTeamSyncGroupsResult build() {
final var _resultValue = new GetOrganizationTeamSyncGroupsResult();
_resultValue.groups = groups;
_resultValue.id = id;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy