All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.github.outputs.GetExternalGroupsExternalGroup Maven / Gradle / Ivy

There is a newer version: 6.4.0-alpha.1731735876
Show 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.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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy