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

package com.azure.resourcemanager.securityinsights.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.securityinsights.models.EntityCommonProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;

/** SecurityGroup entity property bag. */
@Immutable
public final class SecurityGroupEntityProperties extends EntityCommonProperties {
    /*
     * The group distinguished name
     */
    @JsonProperty(value = "distinguishedName", access = JsonProperty.Access.WRITE_ONLY)
    private String distinguishedName;

    /*
     * A single-value attribute that is the unique identifier for the object, assigned by active directory.
     */
    @JsonProperty(value = "objectGuid", access = JsonProperty.Access.WRITE_ONLY)
    private UUID objectGuid;

    /*
     * The SID attribute is a single-value attribute that specifies the security identifier (SID) of the group
     */
    @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY)
    private String sid;

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

    /**
     * Get the objectGuid property: A single-value attribute that is the unique identifier for the object, assigned by
     * active directory.
     *
     * @return the objectGuid value.
     */
    public UUID objectGuid() {
        return this.objectGuid;
    }

    /**
     * Get the sid property: The SID attribute is a single-value attribute that specifies the security identifier (SID)
     * of the group.
     *
     * @return the sid value.
     */
    public String sid() {
        return this.sid;
    }

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