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

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

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

/** Properties for configuration assignment. */
@Fluent
public final class ConfigurationAssignmentProperties {
    /*
     * The maintenance configuration Id
     */
    @JsonProperty(value = "maintenanceConfigurationId")
    private String maintenanceConfigurationId;

    /*
     * The unique resourceId
     */
    @JsonProperty(value = "resourceId")
    private String resourceId;

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

    /**
     * Get the maintenanceConfigurationId property: The maintenance configuration Id.
     *
     * @return the maintenanceConfigurationId value.
     */
    public String maintenanceConfigurationId() {
        return this.maintenanceConfigurationId;
    }

    /**
     * Set the maintenanceConfigurationId property: The maintenance configuration Id.
     *
     * @param maintenanceConfigurationId the maintenanceConfigurationId value to set.
     * @return the ConfigurationAssignmentProperties object itself.
     */
    public ConfigurationAssignmentProperties withMaintenanceConfigurationId(String maintenanceConfigurationId) {
        this.maintenanceConfigurationId = maintenanceConfigurationId;
        return this;
    }

    /**
     * Get the resourceId property: The unique resourceId.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Set the resourceId property: The unique resourceId.
     *
     * @param resourceId the resourceId value to set.
     * @return the ConfigurationAssignmentProperties object itself.
     */
    public ConfigurationAssignmentProperties withResourceId(String resourceId) {
        this.resourceId = resourceId;
        return this;
    }

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