SqlStoredProcedureResource Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. SqlStoredProcedureResource
- com.
Implements
public class SqlStoredProcedureResource
implements JsonSerializable<SqlStoredProcedureResource>
Cosmos DB SQL storedProcedure resource object.
Constructor Summary
Constructor | Description |
---|---|
SqlStoredProcedureResource() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
body()
Get the body property: Body of the Stored Procedure. |
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
String |
id()
Get the id property: Name of the Cosmos DB SQL stored |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sql |
withBody(String body)
Set the body property: Body of the Stored Procedure. |
Sql |
withId(String id)
Set the id property: Name of the Cosmos DB SQL stored |
Methods inherited from java.lang.Object
Constructor Details
SqlStoredProcedureResource
public SqlStoredProcedureResource()
Creates an instance of SqlStoredProcedureResource class.
Method Details
body
public String body()
Get the body property: Body of the Stored Procedure.
Returns:
fromJson
public static SqlStoredProcedureResource fromJson(JsonReader jsonReader)
Reads an instance of SqlStoredProcedureResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Name of the Cosmos DB SQL storedProcedure.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBody
public SqlStoredProcedureResource withBody(String body)
Set the body property: Body of the Stored Procedure.
Parameters:
Returns:
withId
public SqlStoredProcedureResource withId(String id)
Set the id property: Name of the Cosmos DB SQL storedProcedure.
Parameters:
Returns:
Applies to
Azure SDK for Java