// 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;

/** Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. */
@Fluent
public final class PortalSettingValidationKeyContractInner {
    /*
     * This is secret value of the validation key in portal settings.
     */
    @JsonProperty(value = "validationKey")
    private String validationKey;

    /**
     * Get the validationKey property: This is secret value of the validation key in portal settings.
     *
     * @return the validationKey value.
     */
    public String validationKey() {
        return this.validationKey;
    }

    /**
     * Set the validationKey property: This is secret value of the validation key in portal settings.
     *
     * @param validationKey the validationKey value to set.
     * @return the PortalSettingValidationKeyContractInner object itself.
     */
    public PortalSettingValidationKeyContractInner withValidationKey(String validationKey) {
        this.validationKey = validationKey;
        return this;
    }

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