All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.redis.RedisFirewallRuleCreateParameters Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
@JsonFlatten
public class RedisFirewallRuleCreateParameters {
    /**
     * lowest IP address included in the range.
     */
    @JsonProperty(value = "properties.startIP", required = true)
    private String startIP;

    /**
     * highest IP address included in the range.
     */
    @JsonProperty(value = "properties.endIP", required = true)
    private String endIP;

    /**
     * Get the startIP value.
     *
     * @return the startIP value
     */
    public String startIP() {
        return this.startIP;
    }

    /**
     * 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.
     *
     * @return the endIP value
     */
    public String endIP() {
        return this.endIP;
    }

    /**
     * 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;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy