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

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

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.avs.models.CloudLinkStatus;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The properties of a cloud link. */
@Fluent
public final class CloudLinkProperties {
    /*
     * The state of the cloud link.
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private CloudLinkStatus status;

    /*
     * Identifier of the other private cloud participating in the link.
     */
    @JsonProperty(value = "linkedCloud")
    private String linkedCloud;

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

    /**
     * Get the status property: The state of the cloud link.
     *
     * @return the status value.
     */
    public CloudLinkStatus status() {
        return this.status;
    }

    /**
     * Get the linkedCloud property: Identifier of the other private cloud participating in the link.
     *
     * @return the linkedCloud value.
     */
    public String linkedCloud() {
        return this.linkedCloud;
    }

    /**
     * Set the linkedCloud property: Identifier of the other private cloud participating in the link.
     *
     * @param linkedCloud the linkedCloud value to set.
     * @return the CloudLinkProperties object itself.
     */
    public CloudLinkProperties withLinkedCloud(String linkedCloud) {
        this.linkedCloud = linkedCloud;
        return this;
    }

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