Class FollowerDatabaseDefinitionInner
java.lang.Object
com.azure.resourcemanager.synapse.fluent.models.FollowerDatabaseDefinitionInner
A class representing follower database request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of FollowerDatabaseDefinitionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the follower cluster.Get the databaseName property: The database name owned by this cluster that was followed.Get the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.void
validate()
Validates the instance.withAttachedDatabaseConfigurationName
(String attachedDatabaseConfigurationName) Set the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the follower cluster.withKustoPoolResourceId
(String kustoPoolResourceId) Set the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.
-
Constructor Details
-
FollowerDatabaseDefinitionInner
public FollowerDatabaseDefinitionInner()Creates an instance of FollowerDatabaseDefinitionInner class.
-
-
Method Details
-
kustoPoolResourceId
Get the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.- Returns:
- the kustoPoolResourceId value.
-
withKustoPoolResourceId
Set the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.- Parameters:
kustoPoolResourceId
- the kustoPoolResourceId value to set.- Returns:
- the FollowerDatabaseDefinitionInner object itself.
-
attachedDatabaseConfigurationName
Get the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the follower cluster.- Returns:
- the attachedDatabaseConfigurationName value.
-
withAttachedDatabaseConfigurationName
public FollowerDatabaseDefinitionInner withAttachedDatabaseConfigurationName(String attachedDatabaseConfigurationName) Set the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the follower cluster.- Parameters:
attachedDatabaseConfigurationName
- the attachedDatabaseConfigurationName value to set.- Returns:
- the FollowerDatabaseDefinitionInner object itself.
-
databaseName
Get the databaseName property: The database name owned by this cluster that was followed. * in case following all databases.- Returns:
- the databaseName value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-