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

package com.azure.resourcemanager.automanage.models;

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

/** Automanage configuration profile assignment properties. */
@Fluent
public final class ConfigurationProfileAssignmentProperties {
    /*
     * The Automanage configurationProfile ARM Resource URI.
     */
    @JsonProperty(value = "configurationProfile")
    private String configurationProfile;

    /*
     * The target VM resource URI
     */
    @JsonProperty(value = "targetId", access = JsonProperty.Access.WRITE_ONLY)
    private String targetId;

    /*
     * The status of onboarding, which only appears in the response.
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private String status;

    /**
     * Get the configurationProfile property: The Automanage configurationProfile ARM Resource URI.
     *
     * @return the configurationProfile value.
     */
    public String configurationProfile() {
        return this.configurationProfile;
    }

    /**
     * Set the configurationProfile property: The Automanage configurationProfile ARM Resource URI.
     *
     * @param configurationProfile the configurationProfile value to set.
     * @return the ConfigurationProfileAssignmentProperties object itself.
     */
    public ConfigurationProfileAssignmentProperties withConfigurationProfile(String configurationProfile) {
        this.configurationProfile = configurationProfile;
        return this;
    }

    /**
     * Get the targetId property: The target VM resource URI.
     *
     * @return the targetId value.
     */
    public String targetId() {
        return this.targetId;
    }

    /**
     * Get the status property: The status of onboarding, which only appears in the response.
     *
     * @return the status value.
     */
    public String status() {
        return this.status;
    }

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