public class RedisLinkedServerCreateProperties extends Object
| Constructor and Description |
|---|
RedisLinkedServerCreateProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
linkedRedisCacheId()
Get the linkedRedisCacheId property: Fully qualified resourceId of the linked redis cache.
|
String |
linkedRedisCacheLocation()
Get the linkedRedisCacheLocation property: Location of the linked redis cache.
|
ReplicationRole |
serverRole()
Get the serverRole property: Role of the linked server.
|
void |
validate()
Validates the instance.
|
RedisLinkedServerCreateProperties |
withLinkedRedisCacheId(String linkedRedisCacheId)
Set the linkedRedisCacheId property: Fully qualified resourceId of the linked redis cache.
|
RedisLinkedServerCreateProperties |
withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
Set the linkedRedisCacheLocation property: Location of the linked redis cache.
|
RedisLinkedServerCreateProperties |
withServerRole(ReplicationRole serverRole)
Set the serverRole property: Role of the linked server.
|
public String linkedRedisCacheId()
public RedisLinkedServerCreateProperties withLinkedRedisCacheId(String linkedRedisCacheId)
linkedRedisCacheId - the linkedRedisCacheId value to set.public String linkedRedisCacheLocation()
public RedisLinkedServerCreateProperties withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
linkedRedisCacheLocation - the linkedRedisCacheLocation value to set.public ReplicationRole serverRole()
public RedisLinkedServerCreateProperties withServerRole(ReplicationRole serverRole)
serverRole - the serverRole value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.