Class FollowerDatabaseDefinitionInner
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.FollowerDatabaseDefinitionInner
-
public final class FollowerDatabaseDefinitionInner extends Object
A class representing follower database request.
-
-
Constructor Summary
Constructors Constructor Description FollowerDatabaseDefinitionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
attachedDatabaseConfigurationName()
Get the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the follower cluster.String
databaseName()
Get the databaseName property: The database name owned by this cluster that was followed.String
kustoPoolResourceId()
Get the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.void
validate()
Validates the instance.FollowerDatabaseDefinitionInner
withAttachedDatabaseConfigurationName(String attachedDatabaseConfigurationName)
Set the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the follower cluster.FollowerDatabaseDefinitionInner
withKustoPoolResourceId(String kustoPoolResourceId)
Set the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.
-
-
-
Method Detail
-
kustoPoolResourceId
public String kustoPoolResourceId()
Get the kustoPoolResourceId property: Resource id of the cluster that follows a database owned by this cluster.- Returns:
- the kustoPoolResourceId value.
-
withKustoPoolResourceId
public FollowerDatabaseDefinitionInner withKustoPoolResourceId(String kustoPoolResourceId)
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
public String 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
public String 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.
-
-