com.pulumi.gitlab.outputs.GetGroupIdsResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab Show documentation
Show all versions of gitlab Show documentation
A Pulumi package for creating and managing GitLab resources.
The 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.gitlab.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetGroupIdsResult {
/**
* @return The ID or URL-encoded path of the group.
*
*/
private String group;
/**
* @return The full path of the group.
*
*/
private String groupFullPath;
/**
* @return The GraphQL ID of the group.
*
*/
private String groupGraphqlId;
/**
* @return The ID of the group.
*
*/
private String groupId;
private String id;
private GetGroupIdsResult() {}
/**
* @return The ID or URL-encoded path of the group.
*
*/
public String group() {
return this.group;
}
/**
* @return The full path of the group.
*
*/
public String groupFullPath() {
return this.groupFullPath;
}
/**
* @return The GraphQL ID of the group.
*
*/
public String groupGraphqlId() {
return this.groupGraphqlId;
}
/**
* @return The ID of the group.
*
*/
public String groupId() {
return this.groupId;
}
public String id() {
return this.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGroupIdsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String group;
private String groupFullPath;
private String groupGraphqlId;
private String groupId;
private String id;
public Builder() {}
public Builder(GetGroupIdsResult defaults) {
Objects.requireNonNull(defaults);
this.group = defaults.group;
this.groupFullPath = defaults.groupFullPath;
this.groupGraphqlId = defaults.groupGraphqlId;
this.groupId = defaults.groupId;
this.id = defaults.id;
}
@CustomType.Setter
public Builder group(String group) {
if (group == null) {
throw new MissingRequiredPropertyException("GetGroupIdsResult", "group");
}
this.group = group;
return this;
}
@CustomType.Setter
public Builder groupFullPath(String groupFullPath) {
if (groupFullPath == null) {
throw new MissingRequiredPropertyException("GetGroupIdsResult", "groupFullPath");
}
this.groupFullPath = groupFullPath;
return this;
}
@CustomType.Setter
public Builder groupGraphqlId(String groupGraphqlId) {
if (groupGraphqlId == null) {
throw new MissingRequiredPropertyException("GetGroupIdsResult", "groupGraphqlId");
}
this.groupGraphqlId = groupGraphqlId;
return this;
}
@CustomType.Setter
public Builder groupId(String groupId) {
if (groupId == null) {
throw new MissingRequiredPropertyException("GetGroupIdsResult", "groupId");
}
this.groupId = groupId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGroupIdsResult", "id");
}
this.id = id;
return this;
}
public GetGroupIdsResult build() {
final var _resultValue = new GetGroupIdsResult();
_resultValue.group = group;
_resultValue.groupFullPath = groupFullPath;
_resultValue.groupGraphqlId = groupGraphqlId;
_resultValue.groupId = groupId;
_resultValue.id = id;
return _resultValue;
}
}
}