Class RedisLinkedServerCreateParameters
java.lang.Object
com.microsoft.azure.management.redis.RedisLinkedServerCreateParameters
Parameter required for creating a linked server to redis cache.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the linkedRedisCacheId value.Get the linkedRedisCacheLocation value.Get the serverRole value.withLinkedRedisCacheId
(String linkedRedisCacheId) Set the linkedRedisCacheId value.withLinkedRedisCacheLocation
(String linkedRedisCacheLocation) Set the linkedRedisCacheLocation value.withServerRole
(ReplicationRole serverRole) Set the serverRole value.
-
Constructor Details
-
RedisLinkedServerCreateParameters
public RedisLinkedServerCreateParameters()
-
-
Method Details
-
linkedRedisCacheId
Get the linkedRedisCacheId value.- Returns:
- the linkedRedisCacheId value
-
withLinkedRedisCacheId
Set the linkedRedisCacheId value.- Parameters:
linkedRedisCacheId
- the linkedRedisCacheId value to set- Returns:
- the RedisLinkedServerCreateParameters object itself.
-
linkedRedisCacheLocation
Get the linkedRedisCacheLocation value.- Returns:
- the linkedRedisCacheLocation value
-
withLinkedRedisCacheLocation
public RedisLinkedServerCreateParameters withLinkedRedisCacheLocation(String linkedRedisCacheLocation) Set the linkedRedisCacheLocation value.- Parameters:
linkedRedisCacheLocation
- the linkedRedisCacheLocation value to set- Returns:
- the RedisLinkedServerCreateParameters object itself.
-
serverRole
Get the serverRole value.- Returns:
- the serverRole value
-
withServerRole
Set the serverRole value.- Parameters:
serverRole
- the serverRole value to set- Returns:
- the RedisLinkedServerCreateParameters object itself.
-