SqlScriptResource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. SqlScriptResource
- com.
Implements
public final class SqlScriptResource
implements JsonSerializable<SqlScriptResource>
Sql Script resource type.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlScriptResource() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
getEtag()
Get the etag property: Resource Etag. |
| String |
getId()
Get the id property: Fully qualified resource Id for the resource. |
| String |
getName()
Get the name property: The name of the resource. |
|
Sql |
getProperties()
Get the properties property: Properties of sql script. |
| String |
getType()
Get the type property: The type of the resource. |
|
Sql |
setName(String name)
Set the name property: The name of the resource. |
|
Sql |
setProperties(SqlScript properties)
Set the properties property: Properties of sql script. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SqlScriptResource
public SqlScriptResource()
Creates an instance of SqlScriptResource class.
Method Details
fromJson
public static SqlScriptResource fromJson(JsonReader jsonReader)
Reads an instance of SqlScriptResource from the JsonReader.
Parameters:
Returns:
Throws:
getEtag
public String getEtag()
Get the etag property: Resource Etag.
Returns:
getId
public String getId()
Get the id property: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Returns:
getName
public String getName()
Get the name property: The name of the resource.
Returns:
getProperties
public SqlScript getProperties()
Get the properties property: Properties of sql script.
Returns:
getType
public String getType()
Get the type property: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Returns:
setName
public SqlScriptResource setName(String name)
Set the name property: The name of the resource.
Parameters:
Returns:
setProperties
public SqlScriptResource setProperties(SqlScript properties)
Set the properties property: Properties of sql script.
Parameters:
Returns: