SqlStoredProcedureGetProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.SqlStoredProcedureGetProperties

Implements

public final class SqlStoredProcedureGetProperties
implements JsonSerializable<SqlStoredProcedureGetProperties>

The properties of an Azure Cosmos DB StoredProcedure.

Constructor Summary

Constructor Description
SqlStoredProcedureGetProperties()

Creates an instance of SqlStoredProcedureGetProperties class.

Method Summary

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

Reads an instance of SqlStoredProcedureGetProperties from the JsonReader.

SqlStoredProcedureGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlStoredProcedureGetProperties withResource(SqlStoredProcedureGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

SqlStoredProcedureGetProperties

public SqlStoredProcedureGetProperties()

Creates an instance of SqlStoredProcedureGetProperties class.

Method Details

fromJson

public static SqlStoredProcedureGetProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlStoredProcedureGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SqlStoredProcedureGetProperties.

resource

public SqlStoredProcedureGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResource

public SqlStoredProcedureGetProperties withResource(SqlStoredProcedureGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the SqlStoredProcedureGetProperties object itself.

Applies to