/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.applicationinsights.query.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Cloud info for an event result.
 */
public class EventsCloudInfo {
    /**
     * Role name of the cloud.
     */
    @JsonProperty(value = "roleName")
    private String roleName;

    /**
     * Role instance of the cloud.
     */
    @JsonProperty(value = "roleInstance")
    private String roleInstance;

    /**
     * Get role name of the cloud.
     *
     * @return the roleName value
     */
    public String roleName() {
        return this.roleName;
    }

    /**
     * Set role name of the cloud.
     *
     * @param roleName the roleName value to set
     * @return the EventsCloudInfo object itself.
     */
    public EventsCloudInfo withRoleName(String roleName) {
        this.roleName = roleName;
        return this;
    }

    /**
     * Get role instance of the cloud.
     *
     * @return the roleInstance value
     */
    public String roleInstance() {
        return this.roleInstance;
    }

    /**
     * Set role instance of the cloud.
     *
     * @param roleInstance the roleInstance value to set
     * @return the EventsCloudInfo object itself.
     */
    public EventsCloudInfo withRoleInstance(String roleInstance) {
        this.roleInstance = roleInstance;
        return this;
    }

}
