RedisLinkedServerCreateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. redis. RedisLinkedServerCreateParameters
- com.
public class RedisLinkedServerCreateParameters
Parameter required for creating a linked server to redis cache.
Constructor Summary
Constructor | Description | |
---|---|---|
RedisLinkedServerCreateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
linkedRedisCacheId()
Get the linked |
java.lang.String |
linkedRedisCacheLocation()
Get the linked |
Replication |
serverRole()
Get the server |
Redis |
withLinkedRedisCacheId(String linkedRedisCacheId)
Set the linked |
Redis |
withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
Set the linked |
Redis |
withServerRole(ReplicationRole serverRole)
Set the server |
Methods inherited from java.lang.Object
Constructor Details
RedisLinkedServerCreateParameters
public RedisLinkedServerCreateParameters()
Method Details
linkedRedisCacheId
public String linkedRedisCacheId()
Get the linkedRedisCacheId value.
Returns:
linkedRedisCacheLocation
public String linkedRedisCacheLocation()
Get the linkedRedisCacheLocation value.
Returns:
serverRole
public ReplicationRole serverRole()
Get the serverRole value.
Returns:
withLinkedRedisCacheId
public RedisLinkedServerCreateParameters withLinkedRedisCacheId(String linkedRedisCacheId)
Set the linkedRedisCacheId value.
Parameters:
Returns:
withLinkedRedisCacheLocation
public RedisLinkedServerCreateParameters withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
Set the linkedRedisCacheLocation value.
Parameters:
Returns:
withServerRole
public RedisLinkedServerCreateParameters withServerRole(ReplicationRole serverRole)
Set the serverRole value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for