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

com.spotinst.sdkjava.model.bl.ocean.aks.LaunchNodesInAksVNGResponse Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonIgnore;

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

public class LaunchNodesInAksVNGResponse {
    @JsonIgnore
    private Set              isSet;
    private List         vms;

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

    public Set getIsSet() {
        return isSet;
    }

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

    public List getVms() {
        return vms;
    }

    public void setVms(List vms) {
        isSet.add("vms");
        this.vms = vms;
    }

    public static class Builder {
        private LaunchNodesInAksVNGResponse nodes;

        private Builder() {
            this.nodes = new LaunchNodesInAksVNGResponse();
        }

        public static Builder get() {
            return new Builder();
        }

        public Builder setVms(final List launchNodes) {
            nodes.setVms(launchNodes);
            return this;
        }

        public LaunchNodesInAksVNGResponse build() {
            return nodes;
        }
    }

    @JsonIgnore
    public boolean isVmsSet() {
        return isSet.contains("vms");
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy