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

package com.azure.resourcemanager.defendereasm.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.defendereasm.fluent.models.LabelResourceInner;

/** Label patch properties. */
@Fluent
public final class LabelPatchResource extends LabelResourceInner {
    /** Creates an instance of LabelPatchResource class. */
    public LabelPatchResource() {
    }

    /** {@inheritDoc} */
    @Override
    public LabelPatchResource withDisplayName(String displayName) {
        super.withDisplayName(displayName);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabelPatchResource withColor(String color) {
        super.withColor(color);
        return this;
    }

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