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

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

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.cdn.models.AfdStateProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The JSON object that contains the properties of the Rule Set to create. */
@Immutable
public final class RuleSetProperties extends AfdStateProperties {
    /*
     * The name of the profile which holds the rule set.
     */
    @JsonProperty(value = "profileName", access = JsonProperty.Access.WRITE_ONLY)
    private String profileName;

    /**
     * Get the profileName property: The name of the profile which holds the rule set.
     *
     * @return the profileName value.
     */
    public String profileName() {
        return this.profileName;
    }

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