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

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

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

/** The Service Principal properties for the subscription. */
@Immutable
public final class ServicePrincipalProperties {
    /*
     * The Service Principal Id for the subscription.
     */
    @JsonProperty(value = "servicePrincipalId", access = JsonProperty.Access.WRITE_ONLY)
    private String servicePrincipalId;

    /*
     * Returns the contributor RBAC Role exist or not for the Service Principal Id.
     */
    @JsonProperty(value = "authorizationSet", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean authorizationSet;

    /**
     * Get the servicePrincipalId property: The Service Principal Id for the subscription.
     *
     * @return the servicePrincipalId value.
     */
    public String servicePrincipalId() {
        return this.servicePrincipalId;
    }

    /**
     * Get the authorizationSet property: Returns the contributor RBAC Role exist or not for the Service Principal Id.
     *
     * @return the authorizationSet value.
     */
    public Boolean authorizationSet() {
        return this.authorizationSet;
    }

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