com.pulumi.gitlab.outputs.GetProjectMergeRequestClosedBy 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.
// *** 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.Double;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetProjectMergeRequestClosedBy {
/**
* @return A link to the user's avatar image.
*
*/
private String avatarUrl;
/**
* @return The internal ID number of the user.
*
*/
private Double id;
/**
* @return The name of the user.
*
*/
private String name;
/**
* @return The state of the user account.
*
*/
private String state;
/**
* @return The username of the user.
*
*/
private String username;
/**
* @return A link to the user's profile page.
*
*/
private String webUrl;
private GetProjectMergeRequestClosedBy() {}
/**
* @return A link to the user's avatar image.
*
*/
public String avatarUrl() {
return this.avatarUrl;
}
/**
* @return The internal ID number of the user.
*
*/
public Double id() {
return this.id;
}
/**
* @return The name of the user.
*
*/
public String name() {
return this.name;
}
/**
* @return The state of the user account.
*
*/
public String state() {
return this.state;
}
/**
* @return The username of the user.
*
*/
public String username() {
return this.username;
}
/**
* @return A link to the user's profile page.
*
*/
public String webUrl() {
return this.webUrl;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProjectMergeRequestClosedBy defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String avatarUrl;
private Double id;
private String name;
private String state;
private String username;
private String webUrl;
public Builder() {}
public Builder(GetProjectMergeRequestClosedBy defaults) {
Objects.requireNonNull(defaults);
this.avatarUrl = defaults.avatarUrl;
this.id = defaults.id;
this.name = defaults.name;
this.state = defaults.state;
this.username = defaults.username;
this.webUrl = defaults.webUrl;
}
@CustomType.Setter
public Builder avatarUrl(String avatarUrl) {
if (avatarUrl == null) {
throw new MissingRequiredPropertyException("GetProjectMergeRequestClosedBy", "avatarUrl");
}
this.avatarUrl = avatarUrl;
return this;
}
@CustomType.Setter
public Builder id(Double id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetProjectMergeRequestClosedBy", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetProjectMergeRequestClosedBy", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("GetProjectMergeRequestClosedBy", "state");
}
this.state = state;
return this;
}
@CustomType.Setter
public Builder username(String username) {
if (username == null) {
throw new MissingRequiredPropertyException("GetProjectMergeRequestClosedBy", "username");
}
this.username = username;
return this;
}
@CustomType.Setter
public Builder webUrl(String webUrl) {
if (webUrl == null) {
throw new MissingRequiredPropertyException("GetProjectMergeRequestClosedBy", "webUrl");
}
this.webUrl = webUrl;
return this;
}
public GetProjectMergeRequestClosedBy build() {
final var _resultValue = new GetProjectMergeRequestClosedBy();
_resultValue.avatarUrl = avatarUrl;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.state = state;
_resultValue.username = username;
_resultValue.webUrl = webUrl;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy