com.pulumi.github.outputs.GetExternalGroupsExternalGroup 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetExternalGroupsExternalGroup {
/**
* @return the ID of the group.
*
*/
private Integer groupId;
/**
* @return the name of the group.
*
*/
private String groupName;
/**
* @return the date the group was last updated.
*
*/
private String updatedAt;
private GetExternalGroupsExternalGroup() {}
/**
* @return the ID of the group.
*
*/
public Integer groupId() {
return this.groupId;
}
/**
* @return the name of the group.
*
*/
public String groupName() {
return this.groupName;
}
/**
* @return the date the group was last updated.
*
*/
public String updatedAt() {
return this.updatedAt;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetExternalGroupsExternalGroup defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer groupId;
private String groupName;
private String updatedAt;
public Builder() {}
public Builder(GetExternalGroupsExternalGroup defaults) {
Objects.requireNonNull(defaults);
this.groupId = defaults.groupId;
this.groupName = defaults.groupName;
this.updatedAt = defaults.updatedAt;
}
@CustomType.Setter
public Builder groupId(Integer groupId) {
if (groupId == null) {
throw new MissingRequiredPropertyException("GetExternalGroupsExternalGroup", "groupId");
}
this.groupId = groupId;
return this;
}
@CustomType.Setter
public Builder groupName(String groupName) {
if (groupName == null) {
throw new MissingRequiredPropertyException("GetExternalGroupsExternalGroup", "groupName");
}
this.groupName = groupName;
return this;
}
@CustomType.Setter
public Builder updatedAt(String updatedAt) {
if (updatedAt == null) {
throw new MissingRequiredPropertyException("GetExternalGroupsExternalGroup", "updatedAt");
}
this.updatedAt = updatedAt;
return this;
}
public GetExternalGroupsExternalGroup build() {
final var _resultValue = new GetExternalGroupsExternalGroup();
_resultValue.groupId = groupId;
_resultValue.groupName = groupName;
_resultValue.updatedAt = updatedAt;
return _resultValue;
}
}
}