Partager via


SqlStoredProcedureGetResultsInner Class

public final class SqlStoredProcedureGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB storedProcedure.

Constructor Summary

Constructor Description
SqlStoredProcedureGetResultsInner()

Creates an instance of SqlStoredProcedureGetResultsInner class.

Method Summary

Modifier and Type Method and Description
static SqlStoredProcedureGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of SqlStoredProcedureGetResultsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SqlStoredProcedureGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SqlStoredProcedureGetResultsInner withLocation(String location)
SqlStoredProcedureGetResultsInner withResource(SqlStoredProcedureGetPropertiesResource resource)

Set the resource property: The resource property.

SqlStoredProcedureGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

SqlStoredProcedureGetResultsInner

public SqlStoredProcedureGetResultsInner()

Creates an instance of SqlStoredProcedureGetResultsInner class.

Method Details

fromJson

public static SqlStoredProcedureGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of SqlStoredProcedureGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlStoredProcedureGetResultsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SqlStoredProcedureGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SqlStoredProcedureGetResultsInner.name()

Returns:

the name value.

resource

public SqlStoredProcedureGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlStoredProcedureGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SqlStoredProcedureGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SqlStoredProcedureGetResultsInner.validate()

withLocation

public SqlStoredProcedureGetResultsInner withLocation(String location)

Overrides:

SqlStoredProcedureGetResultsInner.withLocation(String location)

Parameters:

location

withResource

public SqlStoredProcedureGetResultsInner withResource(SqlStoredProcedureGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the SqlStoredProcedureGetResultsInner object itself.

withTags

public SqlStoredProcedureGetResultsInner withTags(Map tags)

Overrides:

SqlStoredProcedureGetResultsInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to