All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.powerbi.Display Maven / Gradle / Ivy

There is a newer version: 1.10.0-beta
Show newest version
/**
 * 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.management.powerbi;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The Display model.
 */
public class Display {
    /**
     * The localized friendly form of the resource provider name. This form is
     * also expected to include the publisher/company responsible. Use Title
     * Casing. Begin with “Microsoft” for 1st party services.
     */
    @JsonProperty(value = "provider")
    private String provider;

    /**
     * The localized friendly form of the resource type related to this
     * action/operation. This form should match the public documentation for
     * the resource provider. Use Title Casing. For examples, refer to the
     * “name” section.
     */
    @JsonProperty(value = "resource")
    private String resource;

    /**
     * The localized friendly name for the operation as shown to the user. This
     * name should be concise (to fit in drop downs), but clear
     * (self-documenting). Use Title Casing and include the entity/resource to
     * which it applies.
     */
    @JsonProperty(value = "operation")
    private String operation;

    /**
     * The localized friendly description for the operation as shown to the
     * user. This description should be thorough, yet concise. It will be used
     * in tool-tips and detailed views.
     */
    @JsonProperty(value = "description")
    private String description;

    /**
     * The intended executor of the operation; governs the display of the
     * operation in the RBAC UX and the audit logs UX. Default value is
     * 'user,system'.
     */
    @JsonProperty(value = "origin")
    private String origin;

    /**
     * Get the provider value.
     *
     * @return the provider value
     */
    public String provider() {
        return this.provider;
    }

    /**
     * Set the provider value.
     *
     * @param provider the provider value to set
     * @return the Display object itself.
     */
    public Display withProvider(String provider) {
        this.provider = provider;
        return this;
    }

    /**
     * Get the resource value.
     *
     * @return the resource value
     */
    public String resource() {
        return this.resource;
    }

    /**
     * Set the resource value.
     *
     * @param resource the resource value to set
     * @return the Display object itself.
     */
    public Display withResource(String resource) {
        this.resource = resource;
        return this;
    }

    /**
     * Get the operation value.
     *
     * @return the operation value
     */
    public String operation() {
        return this.operation;
    }

    /**
     * Set the operation value.
     *
     * @param operation the operation value to set
     * @return the Display object itself.
     */
    public Display withOperation(String operation) {
        this.operation = operation;
        return this;
    }

    /**
     * Get the description value.
     *
     * @return the description value
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description value.
     *
     * @param description the description value to set
     * @return the Display object itself.
     */
    public Display withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get the origin value.
     *
     * @return the origin value
     */
    public String origin() {
        return this.origin;
    }

    /**
     * Set the origin value.
     *
     * @param origin the origin value to set
     * @return the Display object itself.
     */
    public Display withOrigin(String origin) {
        this.origin = origin;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy