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 Details

    • RedisLinkedServerCreateParameters

      public RedisLinkedServerCreateParameters()
  • Method Details

    • 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.