// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.hdinsight.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The information of AAD security group. */
@Fluent
public final class ClientGroupInfo {
    /*
     * The AAD security group name.
     */
    @JsonProperty(value = "groupName")
    private String groupName;

    /*
     * The AAD security group id.
     */
    @JsonProperty(value = "groupId")
    private String groupId;

    /** Creates an instance of ClientGroupInfo class. */
    public ClientGroupInfo() {
    }

    /**
     * Get the groupName property: The AAD security group name.
     *
     * @return the groupName value.
     */
    public String groupName() {
        return this.groupName;
    }

    /**
     * Set the groupName property: The AAD security group name.
     *
     * @param groupName the groupName value to set.
     * @return the ClientGroupInfo object itself.
     */
    public ClientGroupInfo withGroupName(String groupName) {
        this.groupName = groupName;
        return this;
    }

    /**
     * Get the groupId property: The AAD security group id.
     *
     * @return the groupId value.
     */
    public String groupId() {
        return this.groupId;
    }

    /**
     * Set the groupId property: The AAD security group id.
     *
     * @param groupId the groupId value to set.
     * @return the ClientGroupInfo object itself.
     */
    public ClientGroupInfo withGroupId(String groupId) {
        this.groupId = groupId;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
