Class FollowerDatabaseDefinitionInner


  • public final class FollowerDatabaseDefinitionInner
    extends Object
    A class representing follower database request.
    • Constructor Detail

      • FollowerDatabaseDefinitionInner

        public FollowerDatabaseDefinitionInner()
    • 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.