Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.redis; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Parameters required for creating a firewall rule on redis cache.
/** * Parameters required for creating a firewall rule on redis cache. */
@JsonFlatten public class RedisFirewallRuleCreateParameters {
lowest IP address included in the range.
/** * lowest IP address included in the range. */
@JsonProperty(value = "properties.startIP", required = true) private String startIP;
highest IP address included in the range.
/** * highest IP address included in the range. */
@JsonProperty(value = "properties.endIP", required = true) private String endIP;
Get the startIP value.
Returns:the startIP value
/** * Get the startIP value. * * @return the startIP value */
public String startIP() { return this.startIP; }
Set the startIP value.
Params:
  • startIP – the startIP value to set
Returns:the RedisFirewallRuleCreateParameters object itself.
/** * Set the startIP value. * * @param startIP the startIP value to set * @return the RedisFirewallRuleCreateParameters object itself. */
public RedisFirewallRuleCreateParameters withStartIP(String startIP) { this.startIP = startIP; return this; }
Get the endIP value.
Returns:the endIP value
/** * Get the endIP value. * * @return the endIP value */
public String endIP() { return this.endIP; }
Set the endIP value.
Params:
  • endIP – the endIP value to set
Returns:the RedisFirewallRuleCreateParameters object itself.
/** * Set the endIP value. * * @param endIP the endIP value to set * @return the RedisFirewallRuleCreateParameters object itself. */
public RedisFirewallRuleCreateParameters withEndIP(String endIP) { this.endIP = endIP; return this; } }