Class RedisCreateParameters
- java.lang.Object
-
- com.microsoft.azure.management.redis.RedisCreateParameters
-
public class RedisCreateParameters extends Object
Parameters supplied to the Create Redis operation.
-
-
Constructor Summary
Constructors Constructor Description RedisCreateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanenableNonSslPort()Get the enableNonSslPort value.Stringlocation()Get the location value.TlsVersionminimumTlsVersion()Get the minimumTlsVersion value.Map<String,String>redisConfiguration()Get the redisConfiguration value.IntegershardCount()Get the shardCount value.Skusku()Get the sku value.StringstaticIP()Get the staticIP value.StringsubnetId()Get the subnetId value.Map<String,String>tags()Get the tags value.Map<String,String>tenantSettings()Get the tenantSettings value.RedisCreateParameterswithEnableNonSslPort(Boolean enableNonSslPort)Set the enableNonSslPort value.RedisCreateParameterswithLocation(String location)Set the location value.RedisCreateParameterswithMinimumTlsVersion(TlsVersion minimumTlsVersion)Set the minimumTlsVersion value.RedisCreateParameterswithRedisConfiguration(Map<String,String> redisConfiguration)Set the redisConfiguration value.RedisCreateParameterswithShardCount(Integer shardCount)Set the shardCount value.RedisCreateParameterswithSku(Sku sku)Set the sku value.RedisCreateParameterswithStaticIP(String staticIP)Set the staticIP value.RedisCreateParameterswithSubnetId(String subnetId)Set the subnetId value.RedisCreateParameterswithTags(Map<String,String> tags)Set the tags value.RedisCreateParameterswithTenantSettings(Map<String,String> tenantSettings)Set the tenantSettings value.RedisCreateParameterswithZones(List<String> zones)Set the zones value.List<String>zones()Get the zones value.
-
-
-
Method Detail
-
redisConfiguration
public Map<String,String> redisConfiguration()
Get the redisConfiguration value.- Returns:
- the redisConfiguration value
-
withRedisConfiguration
public RedisCreateParameters withRedisConfiguration(Map<String,String> redisConfiguration)
Set the redisConfiguration value.- Parameters:
redisConfiguration- the redisConfiguration value to set- Returns:
- the RedisCreateParameters object itself.
-
enableNonSslPort
public Boolean enableNonSslPort()
Get the enableNonSslPort value.- Returns:
- the enableNonSslPort value
-
withEnableNonSslPort
public RedisCreateParameters withEnableNonSslPort(Boolean enableNonSslPort)
Set the enableNonSslPort value.- Parameters:
enableNonSslPort- the enableNonSslPort value to set- Returns:
- the RedisCreateParameters object itself.
-
tenantSettings
public Map<String,String> tenantSettings()
Get the tenantSettings value.- Returns:
- the tenantSettings value
-
withTenantSettings
public RedisCreateParameters withTenantSettings(Map<String,String> tenantSettings)
Set the tenantSettings value.- Parameters:
tenantSettings- the tenantSettings value to set- Returns:
- the RedisCreateParameters object itself.
-
shardCount
public Integer shardCount()
Get the shardCount value.- Returns:
- the shardCount value
-
withShardCount
public RedisCreateParameters withShardCount(Integer shardCount)
Set the shardCount value.- Parameters:
shardCount- the shardCount value to set- Returns:
- the RedisCreateParameters object itself.
-
minimumTlsVersion
public TlsVersion minimumTlsVersion()
Get the minimumTlsVersion value.- Returns:
- the minimumTlsVersion value
-
withMinimumTlsVersion
public RedisCreateParameters withMinimumTlsVersion(TlsVersion minimumTlsVersion)
Set the minimumTlsVersion value.- Parameters:
minimumTlsVersion- the minimumTlsVersion value to set- Returns:
- the RedisCreateParameters object itself.
-
sku
public Sku sku()
Get the sku value.- Returns:
- the sku value
-
withSku
public RedisCreateParameters withSku(Sku sku)
Set the sku value.- Parameters:
sku- the sku value to set- Returns:
- the RedisCreateParameters object itself.
-
subnetId
public String subnetId()
Get the subnetId value.- Returns:
- the subnetId value
-
withSubnetId
public RedisCreateParameters withSubnetId(String subnetId)
Set the subnetId value.- Parameters:
subnetId- the subnetId value to set- Returns:
- the RedisCreateParameters object itself.
-
staticIP
public String staticIP()
Get the staticIP value.- Returns:
- the staticIP value
-
withStaticIP
public RedisCreateParameters withStaticIP(String staticIP)
Set the staticIP value.- Parameters:
staticIP- the staticIP value to set- Returns:
- the RedisCreateParameters object itself.
-
withZones
public RedisCreateParameters withZones(List<String> zones)
Set the zones value.- Parameters:
zones- the zones value to set- Returns:
- the RedisCreateParameters object itself.
-
location
public String location()
Get the location value.- Returns:
- the location value
-
withLocation
public RedisCreateParameters withLocation(String location)
Set the location value.- Parameters:
location- the location value to set- Returns:
- the RedisCreateParameters object itself.
-
withTags
public RedisCreateParameters withTags(Map<String,String> tags)
Set the tags value.- Parameters:
tags- the tags value to set- Returns:
- the RedisCreateParameters object itself.
-
-