Class DatabasePropertiesGeoReplication
java.lang.Object
com.azure.resourcemanager.redisenterprise.models.DatabasePropertiesGeoReplication
Optional set of properties to configure geo replication for this database.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DatabasePropertiesGeoReplication class. -
Method Summary
Modifier and TypeMethodDescriptionGet the groupNickname property: Name for the group of linked database resources.Get the linkedDatabases property: List of database resources to link with this database.void
validate()
Validates the instance.withGroupNickname
(String groupNickname) Set the groupNickname property: Name for the group of linked database resources.withLinkedDatabases
(List<LinkedDatabase> linkedDatabases) Set the linkedDatabases property: List of database resources to link with this database.
-
Constructor Details
-
DatabasePropertiesGeoReplication
public DatabasePropertiesGeoReplication()Creates an instance of DatabasePropertiesGeoReplication class.
-
-
Method Details
-
groupNickname
Get the groupNickname property: Name for the group of linked database resources.- Returns:
- the groupNickname value.
-
withGroupNickname
Set the groupNickname property: Name for the group of linked database resources.- Parameters:
groupNickname
- the groupNickname value to set.- Returns:
- the DatabasePropertiesGeoReplication object itself.
-
linkedDatabases
Get the linkedDatabases property: List of database resources to link with this database.- Returns:
- the linkedDatabases value.
-
withLinkedDatabases
Set the linkedDatabases property: List of database resources to link with this database.- Parameters:
linkedDatabases
- the linkedDatabases value to set.- Returns:
- the DatabasePropertiesGeoReplication object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-