public class SqlStoredProcedureResource extends Object
| Constructor and Description |
|---|
SqlStoredProcedureResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
Get the body property: Body of the Stored Procedure.
|
String |
id()
Get the id property: Name of the Cosmos DB SQL storedProcedure.
|
void |
validate()
Validates the instance.
|
SqlStoredProcedureResource |
withBody(String body)
Set the body property: Body of the Stored Procedure.
|
SqlStoredProcedureResource |
withId(String id)
Set the id property: Name of the Cosmos DB SQL storedProcedure.
|
public String id()
public SqlStoredProcedureResource withId(String id)
id - the id value to set.public String body()
public SqlStoredProcedureResource withBody(String body)
body - the body value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.