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

package com.azure.resourcemanager.logic.models;

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

/** The API resource policies. */
@Fluent
public final class ApiResourcePolicies {
    /*
     * The API level only policies XML as embedded content.
     */
    @JsonProperty(value = "content")
    private String content;

    /*
     * The content link to the policies.
     */
    @JsonProperty(value = "contentLink")
    private String contentLink;

    /** Creates an instance of ApiResourcePolicies class. */
    public ApiResourcePolicies() {
    }

    /**
     * Get the content property: The API level only policies XML as embedded content.
     *
     * @return the content value.
     */
    public String content() {
        return this.content;
    }

    /**
     * Set the content property: The API level only policies XML as embedded content.
     *
     * @param content the content value to set.
     * @return the ApiResourcePolicies object itself.
     */
    public ApiResourcePolicies withContent(String content) {
        this.content = content;
        return this;
    }

    /**
     * Get the contentLink property: The content link to the policies.
     *
     * @return the contentLink value.
     */
    public String contentLink() {
        return this.contentLink;
    }

    /**
     * Set the contentLink property: The content link to the policies.
     *
     * @param contentLink the contentLink value to set.
     * @return the ApiResourcePolicies object itself.
     */
    public ApiResourcePolicies withContentLink(String contentLink) {
        this.contentLink = contentLink;
        return this;
    }

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