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

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

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

/** The response of the GetSsoToken operation. */
@Fluent
public final class ApiManagementServiceGetSsoTokenResultInner {
    /*
     * Redirect URL to the Publisher Portal containing the SSO token.
     */
    @JsonProperty(value = "redirectUri")
    private String redirectUri;

    /**
     * Get the redirectUri property: Redirect URL to the Publisher Portal containing the SSO token.
     *
     * @return the redirectUri value.
     */
    public String redirectUri() {
        return this.redirectUri;
    }

    /**
     * Set the redirectUri property: Redirect URL to the Publisher Portal containing the SSO token.
     *
     * @param redirectUri the redirectUri value to set.
     * @return the ApiManagementServiceGetSsoTokenResultInner object itself.
     */
    public ApiManagementServiceGetSsoTokenResultInner withRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri;
        return this;
    }

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