public final class RedisLinkedServerProperties extends RedisLinkedServerCreateProperties
| Constructor and Description |
|---|
RedisLinkedServerProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
provisioningState()
Get the provisioningState property: Terminal state of the link between primary and secondary redis cache.
|
void |
validate()
Validates the instance.
|
RedisLinkedServerProperties |
withLinkedRedisCacheId(String linkedRedisCacheId)
Set the linkedRedisCacheId property: Fully qualified resourceId of the linked redis cache.
|
RedisLinkedServerProperties |
withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
Set the linkedRedisCacheLocation property: Location of the linked redis cache.
|
RedisLinkedServerProperties |
withServerRole(ReplicationRole serverRole)
Set the serverRole property: Role of the linked server.
|
linkedRedisCacheId, linkedRedisCacheLocation, serverRolepublic String provisioningState()
public RedisLinkedServerProperties withLinkedRedisCacheId(String linkedRedisCacheId)
withLinkedRedisCacheId in class RedisLinkedServerCreatePropertieslinkedRedisCacheId - the linkedRedisCacheId value to set.public RedisLinkedServerProperties withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
withLinkedRedisCacheLocation in class RedisLinkedServerCreatePropertieslinkedRedisCacheLocation - the linkedRedisCacheLocation value to set.public RedisLinkedServerProperties withServerRole(ReplicationRole serverRole)
withServerRole in class RedisLinkedServerCreatePropertiesserverRole - the serverRole value to set.public void validate()
validate in class RedisLinkedServerCreatePropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.