Class RedisLinkedServerCreateParameters
- java.lang.Object
-
- com.microsoft.azure.management.redis.RedisLinkedServerCreateParameters
-
public class RedisLinkedServerCreateParameters extends Object
Parameter required for creating a linked server to redis cache.
-
-
Constructor Summary
Constructors Constructor Description RedisLinkedServerCreateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlinkedRedisCacheId()Get the linkedRedisCacheId value.StringlinkedRedisCacheLocation()Get the linkedRedisCacheLocation value.ReplicationRoleserverRole()Get the serverRole value.RedisLinkedServerCreateParameterswithLinkedRedisCacheId(String linkedRedisCacheId)Set the linkedRedisCacheId value.RedisLinkedServerCreateParameterswithLinkedRedisCacheLocation(String linkedRedisCacheLocation)Set the linkedRedisCacheLocation value.RedisLinkedServerCreateParameterswithServerRole(ReplicationRole serverRole)Set the serverRole value.
-
-
-
Method Detail
-
linkedRedisCacheId
public String linkedRedisCacheId()
Get the linkedRedisCacheId value.- Returns:
- the linkedRedisCacheId value
-
withLinkedRedisCacheId
public RedisLinkedServerCreateParameters withLinkedRedisCacheId(String linkedRedisCacheId)
Set the linkedRedisCacheId value.- Parameters:
linkedRedisCacheId- the linkedRedisCacheId value to set- Returns:
- the RedisLinkedServerCreateParameters object itself.
-
linkedRedisCacheLocation
public String 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
public ReplicationRole serverRole()
Get the serverRole value.- Returns:
- the serverRole value
-
withServerRole
public RedisLinkedServerCreateParameters withServerRole(ReplicationRole serverRole)
Set the serverRole value.- Parameters:
serverRole- the serverRole value to set- Returns:
- the RedisLinkedServerCreateParameters object itself.
-
-