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

com.spotinst.sdkjava.model.api.aws.managedInstance.ApiIntegrations Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spotinst.sdkjava.client.rest.IPartialUpdateEntity;

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

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiIntegrations implements IPartialUpdateEntity {

    //region Members
    @JsonIgnore
    private Set             isSet;
    private ApiLoadBalancersConfig  loadBalancersConfig;
    private ApiRoute53              route53;

    //endregion

    //region constructor
    public ApiIntegrations() {
        isSet = new HashSet<>();
    }
    //endregion

    //region Setters&Getters

    public Set getIsSet() {
        return isSet;
    }

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

    public ApiLoadBalancersConfig getLoadBalancersConfig() {
        return loadBalancersConfig;
    }

    public void setLoadBalancersConfig(ApiLoadBalancersConfig loadBalancersConfig) {
        isSet.add("loadBalancersConfig");
        this.loadBalancersConfig = loadBalancersConfig;
    }

    public ApiRoute53 getRoute53() {
        return route53;
    }

    public void setRoute53(ApiRoute53 route53) {
        isSet.add("route53");
        this.route53 = route53;
    }

    @JsonIgnore
    public boolean isLoadBalancersConfigSet() {
        return isSet.contains("loadBalancersConfig");
    }

    @JsonIgnore
    public boolean isRoute53Set() {
        return isSet.contains("route53");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy