Class FollowerDatabaseDefinitionInner
- java.lang.Object
-
- com.azure.resourcemanager.kusto.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
clusterResourceId()
Get the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.String
databaseName()
Get the databaseName property: The database name owned by this cluster that was followed.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
withClusterResourceId(String clusterResourceId)
Set the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.
-
-
-
Method Detail
-
clusterResourceId
public String clusterResourceId()
Get the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.- Returns:
- the clusterResourceId value.
-
withClusterResourceId
public FollowerDatabaseDefinitionInner withClusterResourceId(String clusterResourceId)
Set the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.- Parameters:
clusterResourceId
- the clusterResourceId 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.
-
-