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

com.spotinst.sdkjava.model.api.ocean.gke.ApiClusterAliasIpRangesSpecification Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.model.api.ocean.gke;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.HashSet;
import java.util.Set;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ApiClusterAliasIpRangesSpecification {

    @JsonIgnore
    private Set isSet;
    private String      ipCidrRange;
    private String      subnetworkRangeName;

    public ApiClusterAliasIpRangesSpecification() {
        isSet = new HashSet<>();
    }

    public Set getIsSet() {
        return isSet;
    }

    public void setIsSet(Set isSet) {
        this.isSet = isSet;
    }

    public String getIpCidrRange() {
        return ipCidrRange;
    }

    public void setIpCidrRange(String ipCidrRange) {
        isSet.add("ipCidrRange");
        this.ipCidrRange = ipCidrRange;
    }

    public String getSubnetworkRangeName() {
        return subnetworkRangeName;
    }

    public void setSubnetworkRangeName(String subnetworkRangeName) {
        isSet.add("subnetworkRangeName");
        this.subnetworkRangeName = subnetworkRangeName;
    }

    @JsonIgnore
    public boolean isIpCidrRangeSet() { return isSet.contains("ipCidrRange"); }

    @JsonIgnore
    public boolean isSubnetworkRangeNameSet() {
        return isSet.contains("subnetworkRangeName");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy