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

com.microsoft.azure.management.cosmosdb.implementation.SqlStoredProcedureGetResultsInner Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure CosmosDB SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
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.cosmosdb.implementation;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.cosmosdb.ARMResourceProperties;

/**
 * An Azure Cosmos DB storedProcedure.
 */
@JsonFlatten
public class SqlStoredProcedureGetResultsInner extends ARMResourceProperties {
    /**
     * Name of the Cosmos DB SQL storedProcedure.
     */
    @JsonProperty(value = "properties.id", required = true)
    private String sqlStoredProcedureGetResultsId;

    /**
     * Body of the Stored Procedure.
     */
    @JsonProperty(value = "properties.body")
    private String body;

    /**
     * A system generated property. A unique identifier.
     */
    @JsonProperty(value = "properties._rid", access = JsonProperty.Access.WRITE_ONLY)
    private String _rid;

    /**
     * A system generated property that denotes the last updated timestamp of
     * the resource.
     */
    @JsonProperty(value = "properties._ts", access = JsonProperty.Access.WRITE_ONLY)
    private Object _ts;

    /**
     * A system generated property representing the resource etag required for
     * optimistic concurrency control.
     */
    @JsonProperty(value = "properties._etag", access = JsonProperty.Access.WRITE_ONLY)
    private String _etag;

    /**
     * Get name of the Cosmos DB SQL storedProcedure.
     *
     * @return the sqlStoredProcedureGetResultsId value
     */
    public String sqlStoredProcedureGetResultsId() {
        return this.sqlStoredProcedureGetResultsId;
    }

    /**
     * Set name of the Cosmos DB SQL storedProcedure.
     *
     * @param sqlStoredProcedureGetResultsId the sqlStoredProcedureGetResultsId value to set
     * @return the SqlStoredProcedureGetResultsInner object itself.
     */
    public SqlStoredProcedureGetResultsInner withSqlStoredProcedureGetResultsId(String sqlStoredProcedureGetResultsId) {
        this.sqlStoredProcedureGetResultsId = sqlStoredProcedureGetResultsId;
        return this;
    }

    /**
     * Get body of the Stored Procedure.
     *
     * @return the body value
     */
    public String body() {
        return this.body;
    }

    /**
     * Set body of the Stored Procedure.
     *
     * @param body the body value to set
     * @return the SqlStoredProcedureGetResultsInner object itself.
     */
    public SqlStoredProcedureGetResultsInner withBody(String body) {
        this.body = body;
        return this;
    }

    /**
     * Get a system generated property. A unique identifier.
     *
     * @return the _rid value
     */
    public String _rid() {
        return this._rid;
    }

    /**
     * Get a system generated property that denotes the last updated timestamp of the resource.
     *
     * @return the _ts value
     */
    public Object _ts() {
        return this._ts;
    }

    /**
     * Get a system generated property representing the resource etag required for optimistic concurrency control.
     *
     * @return the _etag value
     */
    public String _etag() {
        return this._etag;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy