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

com.spotinst.sdkjava.model.bl.ocean.aks.AksDetachInstancesResponse 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.Set;
import java.util.List;

public class AksDetachInstancesResponse {
    @JsonIgnore
    private Set              isSet;
    private List        detachedVms;

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

    public Set getIsSet() {
        return isSet;
    }

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

    public List getDetachedVms() {
        return detachedVms;
    }

    public void setDetachedVms(List detachedVms) {
        isSet.add("detachedVms");
        this.detachedVms = detachedVms;
    }

    public static class Builder {
        private AksDetachInstancesResponse detachInstances;

        private Builder() {
            this.detachInstances = new AksDetachInstancesResponse();
        }

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

        public Builder setDetachedVms(final List detachedVms) {
            detachInstances.setDetachedVms(detachedVms);
            return this;
        }

        public AksDetachInstancesResponse build() {
            return detachInstances;
        }
    }

    @JsonIgnore
    public boolean isDetachedVmsSet() {
        return isSet.contains("detachedVms");
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy