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

package com.azure.resourcemanager.dynatrace.models;

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

/** Request for getting sso details for a user. */
@Fluent
public final class SsoDetailsRequest {
    /*
     * user principal id of the user
     */
    @JsonProperty(value = "userPrincipal")
    private String userPrincipal;

    /**
     * Get the userPrincipal property: user principal id of the user.
     *
     * @return the userPrincipal value.
     */
    public String userPrincipal() {
        return this.userPrincipal;
    }

    /**
     * Set the userPrincipal property: user principal id of the user.
     *
     * @param userPrincipal the userPrincipal value to set.
     * @return the SsoDetailsRequest object itself.
     */
    public SsoDetailsRequest withUserPrincipal(String userPrincipal) {
        this.userPrincipal = userPrincipal;
        return this;
    }

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