Class AttachedDatabaseConfigurationInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.fluent.models.AttachedDatabaseConfigurationInner
-
public final class AttachedDatabaseConfigurationInner extends com.azure.core.management.ProxyResource
Class representing an attached database configuration.
-
-
Constructor Summary
Constructors Constructor Description AttachedDatabaseConfigurationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
attachedDatabaseNames()
Get the attachedDatabaseNames property: The list of databases from the clusterResourceId which are currently attached to the kusto pool.String
databaseName()
Get the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.DefaultPrincipalsModificationKind
defaultPrincipalsModificationKind()
Get the defaultPrincipalsModificationKind property: The default principals modification kind.String
kustoPoolResourceId()
Get the kustoPoolResourceId property: The resource id of the kusto pool where the databases you would like to attach reside.String
location()
Get the location property: Resource location.ResourceProvisioningState
provisioningState()
Get the provisioningState property: The provisioned state of the resource.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.TableLevelSharingProperties
tableLevelSharingProperties()
Get the tableLevelSharingProperties property: Table level sharing specifications.void
validate()
Validates the instance.AttachedDatabaseConfigurationInner
withDatabaseName(String databaseName)
Set the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.AttachedDatabaseConfigurationInner
withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind defaultPrincipalsModificationKind)
Set the defaultPrincipalsModificationKind property: The default principals modification kind.AttachedDatabaseConfigurationInner
withKustoPoolResourceId(String kustoPoolResourceId)
Set the kustoPoolResourceId property: The resource id of the kusto pool where the databases you would like to attach reside.AttachedDatabaseConfigurationInner
withLocation(String location)
Set the location property: Resource location.AttachedDatabaseConfigurationInner
withTableLevelSharingProperties(TableLevelSharingProperties tableLevelSharingProperties)
Set the tableLevelSharingProperties property: Table level sharing specifications.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
public AttachedDatabaseConfigurationInner withLocation(String location)
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
provisioningState
public ResourceProvisioningState provisioningState()
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
databaseName
public String databaseName()
Get the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.- Returns:
- the databaseName value.
-
withDatabaseName
public AttachedDatabaseConfigurationInner withDatabaseName(String databaseName)
Set the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
kustoPoolResourceId
public String kustoPoolResourceId()
Get the kustoPoolResourceId property: The resource id of the kusto pool where the databases you would like to attach reside.- Returns:
- the kustoPoolResourceId value.
-
withKustoPoolResourceId
public AttachedDatabaseConfigurationInner withKustoPoolResourceId(String kustoPoolResourceId)
Set the kustoPoolResourceId property: The resource id of the kusto pool where the databases you would like to attach reside.- Parameters:
kustoPoolResourceId
- the kustoPoolResourceId value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
attachedDatabaseNames
public List<String> attachedDatabaseNames()
Get the attachedDatabaseNames property: The list of databases from the clusterResourceId which are currently attached to the kusto pool.- Returns:
- the attachedDatabaseNames value.
-
defaultPrincipalsModificationKind
public DefaultPrincipalsModificationKind defaultPrincipalsModificationKind()
Get the defaultPrincipalsModificationKind property: The default principals modification kind.- Returns:
- the defaultPrincipalsModificationKind value.
-
withDefaultPrincipalsModificationKind
public AttachedDatabaseConfigurationInner withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind defaultPrincipalsModificationKind)
Set the defaultPrincipalsModificationKind property: The default principals modification kind.- Parameters:
defaultPrincipalsModificationKind
- the defaultPrincipalsModificationKind value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
tableLevelSharingProperties
public TableLevelSharingProperties tableLevelSharingProperties()
Get the tableLevelSharingProperties property: Table level sharing specifications.- Returns:
- the tableLevelSharingProperties value.
-
withTableLevelSharingProperties
public AttachedDatabaseConfigurationInner withTableLevelSharingProperties(TableLevelSharingProperties tableLevelSharingProperties)
Set the tableLevelSharingProperties property: Table level sharing specifications.- Parameters:
tableLevelSharingProperties
- the tableLevelSharingProperties value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-