ServerRoleGroupConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. cosmosdbforpostgresql. models. ServerRoleGroupConfiguration
- com.
public final class ServerRoleGroupConfiguration
Represents server role group configuration value.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerRoleGroupConfiguration() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
defaultValue()
Get the default |
|
Server |
role()
Get the role property: The role of servers in the server role group. |
| String |
source()
Get the source property: Source of the configuration. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value of the configuration. |
|
Server |
withRole(ServerRole role)
Set the role property: The role of servers in the server role group. |
|
Server |
withValue(String value)
Set the value property: Value of the configuration. |
Methods inherited from java.lang.Object
Constructor Details
ServerRoleGroupConfiguration
public ServerRoleGroupConfiguration()
Creates an instance of ServerRoleGroupConfiguration class.
Method Details
defaultValue
public String defaultValue()
Get the defaultValue property: Default value of the configuration.
Returns:
role
public ServerRole role()
Get the role property: The role of servers in the server role group.
Returns:
source
public String source()
Get the source property: Source of the configuration.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the configuration.
Returns:
withRole
public ServerRoleGroupConfiguration withRole(ServerRole role)
Set the role property: The role of servers in the server role group.
Parameters:
Returns:
withValue
public ServerRoleGroupConfiguration withValue(String value)
Set the value property: Value of the configuration.
Parameters:
Returns: