// 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 ClientSecretContractInner {
    /*
     * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
     */
    @JsonProperty(value = "clientSecret")
    private String clientSecret;

    /**
     * Get the clientSecret property: Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
     *
     * @return the clientSecret value.
     */
    public String clientSecret() {
        return this.clientSecret;
    }

    /**
     * Set the clientSecret property: Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
     *
     * @param clientSecret the clientSecret value to set.
     * @return the ClientSecretContractInner object itself.
     */
    public ClientSecretContractInner withClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
        return this;
    }

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