Interface Server.DefinitionStages.WithReplicationRole
- All Known Subinterfaces:
Server.Definition, Server.DefinitionStages.WithCreate
- Enclosing interface:
Server.DefinitionStages
public static interface Server.DefinitionStages.WithReplicationRole
The stage of the Server definition allowing to specify replicationRole.
-
Method Summary
Modifier and TypeMethodDescriptionwithReplicationRole(ReplicationRole replicationRole) Specifies the replicationRole property: Role of the server in a replication set..
-
Method Details
-
withReplicationRole
Specifies the replicationRole property: Role of the server in a replication set..- Parameters:
replicationRole- Role of the server in a replication set.- Returns:
- the next definition stage.
-