DatabasePropertiesGeoReplication Class
- java.
lang. Object - com.
azure. resourcemanager. redisenterprise. models. DatabasePropertiesGeoReplication
- com.
public final class DatabasePropertiesGeoReplication
Optional set of properties to configure geo replication for this database.
Constructor Summary
Constructor | Description |
---|---|
DatabasePropertiesGeoReplication() |
Creates an instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
groupNickname()
Get the group |
List<Linked |
linkedDatabases()
Get the linked |
void |
validate()
Validates the instance. |
Database |
withGroupNickname(String groupNickname)
Set the group |
Database |
withLinkedDatabases(List<LinkedDatabase> linkedDatabases)
Set the linked |
Methods inherited from java.lang.Object
Constructor Details
DatabasePropertiesGeoReplication
public DatabasePropertiesGeoReplication()
Creates an instance of DatabasePropertiesGeoReplication class.
Method Details
groupNickname
public String groupNickname()
Get the groupNickname property: Name for the group of linked database resources.
Returns:
linkedDatabases
public List
Get the linkedDatabases property: List of database resources to link with this database.
Returns:
validate
public void validate()
Validates the instance.
withGroupNickname
public DatabasePropertiesGeoReplication withGroupNickname(String groupNickname)
Set the groupNickname property: Name for the group of linked database resources.
Parameters:
Returns:
withLinkedDatabases
public DatabasePropertiesGeoReplication withLinkedDatabases(List
Set the linkedDatabases property: List of database resources to link with this database.
Parameters:
Returns:
Applies to
Azure SDK for Java