Class SqlScriptResource
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.SqlScriptResource
-
public final class SqlScriptResource extends Object
Sql Script resource type.
-
-
Constructor Summary
Constructors Constructor Description SqlScriptResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.SqlScript
getProperties()
Get the properties property: Properties of sql script.String
getType()
Get the type property: The type of the resource.SqlScriptResource
setName(String name)
Set the name property: The name of the resource.SqlScriptResource
setProperties(SqlScript properties)
Set the properties property: Properties of sql script.
-
-
-
Method Detail
-
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:
- the id value.
-
getName
public String getName()
Get the name property: The name of the resource.- Returns:
- the name value.
-
setName
public SqlScriptResource setName(String name)
Set the name property: The name of the resource.- Parameters:
name
- the name value to set.- Returns:
- the SqlScriptResource object itself.
-
getType
public String getType()
Get the type property: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.- Returns:
- the type value.
-
getEtag
public String getEtag()
Get the etag property: Resource Etag.- Returns:
- the etag value.
-
getProperties
public SqlScript getProperties()
Get the properties property: Properties of sql script.- Returns:
- the properties value.
-
setProperties
public SqlScriptResource setProperties(SqlScript properties)
Set the properties property: Properties of sql script.- Parameters:
properties
- the properties value to set.- Returns:
- the SqlScriptResource object itself.
-
-