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

package com.azure.resourcemanager.connectedvmware.models;

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

/** Defines the resource properties. */
@Fluent
public final class PlacementProfile {
    /*
     * Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
     */
    @JsonProperty(value = "resourcePoolId")
    private String resourcePoolId;

    /*
     * Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.
     */
    @JsonProperty(value = "clusterId")
    private String clusterId;

    /*
     * Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
     */
    @JsonProperty(value = "hostId")
    private String hostId;

    /*
     * Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.
     */
    @JsonProperty(value = "datastoreId")
    private String datastoreId;

    /**
     * Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual
     * machine will deploy.
     *
     * @return the resourcePoolId value.
     */
    public String resourcePoolId() {
        return this.resourcePoolId;
    }

    /**
     * Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual
     * machine will deploy.
     *
     * @param resourcePoolId the resourcePoolId value to set.
     * @return the PlacementProfile object itself.
     */
    public PlacementProfile withResourcePoolId(String resourcePoolId) {
        this.resourcePoolId = resourcePoolId;
        return this;
    }

    /**
     * Get the clusterId property: Gets or sets the ARM Id of the cluster resource on which this virtual machine will
     * deploy.
     *
     * @return the clusterId value.
     */
    public String clusterId() {
        return this.clusterId;
    }

    /**
     * Set the clusterId property: Gets or sets the ARM Id of the cluster resource on which this virtual machine will
     * deploy.
     *
     * @param clusterId the clusterId value to set.
     * @return the PlacementProfile object itself.
     */
    public PlacementProfile withClusterId(String clusterId) {
        this.clusterId = clusterId;
        return this;
    }

    /**
     * Get the hostId property: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
     *
     * @return the hostId value.
     */
    public String hostId() {
        return this.hostId;
    }

    /**
     * Set the hostId property: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
     *
     * @param hostId the hostId value to set.
     * @return the PlacementProfile object itself.
     */
    public PlacementProfile withHostId(String hostId) {
        this.hostId = hostId;
        return this;
    }

    /**
     * Get the datastoreId property: Gets or sets the ARM Id of the datastore resource on which the data for the virtual
     * machine will be kept.
     *
     * @return the datastoreId value.
     */
    public String datastoreId() {
        return this.datastoreId;
    }

    /**
     * Set the datastoreId property: Gets or sets the ARM Id of the datastore resource on which the data for the virtual
     * machine will be kept.
     *
     * @param datastoreId the datastoreId value to set.
     * @return the PlacementProfile object itself.
     */
    public PlacementProfile withDatastoreId(String datastoreId) {
        this.datastoreId = datastoreId;
        return this;
    }

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