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

com.spotinst.sdkjava.model.bl.ocean.aks.ClusterLaunchSpecificationAks 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 com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

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

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ClusterLaunchSpecificationAks {
    @JsonIgnore
    private Set                         isSet;
    private List           extensions;
    private ClusterImageAks                     image;
    private ClusterLoadBalancersConfigAks       loadBalancersConfig;
    private List                 managedServiceIdentities;
    private ClusterLoginAks                     login;
    private ClusterNetworkAks                   network;
    private ClusterOsDiskAks                    osDisk;
    private String                              resourceGroupName;
    private List                 tags;


    private ClusterLaunchSpecificationAks() {
        isSet = new HashSet<>();
    }

    public Set getIsSet() {
        return isSet;
    }

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

    public List getManagedServiceIdentities() {
        return managedServiceIdentities;
    }

    public void setManagedServiceIdentities(List managedServiceIdentities) {
        isSet.add("managedServiceIdentities");
        this.managedServiceIdentities = managedServiceIdentities;
    }

    public List getExtensions() {
        return extensions;
    }

    public void setExtensions(List extensions) {
        isSet.add("extensions");
        this.extensions = extensions;
    }

    public ClusterImageAks getImage() {
        return image;
    }

    public void setImage(ClusterImageAks image) {

        isSet.add("image");
        this.image = image;
    }

    public ClusterLoadBalancersConfigAks getLoadBalancersConfig() {
        return loadBalancersConfig;
    }

    public void setLoadBalancersConfig(ClusterLoadBalancersConfigAks loadBalancersConfig) {

        isSet.add("loadBalancersConfig");
        this.loadBalancersConfig = loadBalancersConfig;
    }

    public ClusterLoginAks getLogin() {
        return login;
    }

    public void setLogin(ClusterLoginAks login) {

        isSet.add("login");
        this.login = login;
    }

    public ClusterNetworkAks getNetwork() {
        return network;
    }

    public void setNetwork(ClusterNetworkAks network) {

        isSet.add("network");
        this.network = network;
    }

    public String getResourceGroupName() {
        return resourceGroupName;
    }

    public void setResourceGroupName(String resourceGroupName) {

        isSet.add("resourceGroupName");
        this.resourceGroupName = resourceGroupName;
    }

    public List getTags() {
        return tags;
    }

    public void setTags(List tags) {

        isSet.add("tags");
        this.tags = tags;
    }

    public ClusterOsDiskAks getOsDisk() {
        return osDisk;
    }

    public void setOsDisk(ClusterOsDiskAks osDisk) {
        isSet.add("osDisk");
        this.osDisk = osDisk;
    }

    @JsonIgnore
    public boolean isExtensionsSet() {
        return isSet.contains("extensions");
    }

    @JsonIgnore
    public boolean isImageSet() {
        return isSet.contains("image");
    }

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

    @JsonIgnore
    public boolean isLoginSet() {
        return isSet.contains("login");
    }

    @JsonIgnore
    public boolean isNetworkSet() {
        return isSet.contains("network");
    }

    @JsonIgnore
    public boolean isManagedServiceIdentitiesSet() {
        return isSet.contains("managedServiceIdentities");
    }

    @JsonIgnore
    public boolean isOsDiskSet() {
        return isSet.contains("osDisk");
    }

    @JsonIgnore
    public boolean isResourceGroupNameSet() {
        return isSet.contains("resourceGroupName");
    }

    @JsonIgnore
    public boolean isTagsSet() {
        return isSet.contains("tags");
    }

    public static class Builder {

        private ClusterLaunchSpecificationAks clusterLaunchSpecificationAks;

        private Builder() {
            this.clusterLaunchSpecificationAks = new ClusterLaunchSpecificationAks();
        }

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

        public Builder setExtensions(final List extensions) {
            clusterLaunchSpecificationAks.setExtensions(extensions);
            return this;
        }
        public Builder setImage(final ClusterImageAks image) {
            clusterLaunchSpecificationAks.setImage(image);
            return this;
        }
        public Builder setLoadBalancersConfig(final ClusterLoadBalancersConfigAks loadBalancersConfig) {
            clusterLaunchSpecificationAks.setLoadBalancersConfig(loadBalancersConfig);
            return this;
        }
        public Builder setLogin(final ClusterLoginAks login) {
            clusterLaunchSpecificationAks.setLogin(login);
            return this;
        }
        public Builder setNetwork(final ClusterNetworkAks networkn) {
            clusterLaunchSpecificationAks.setNetwork(networkn);
            return this;
        }
        public Builder setOsDisk(final ClusterOsDiskAks osDisk){
            clusterLaunchSpecificationAks.setOsDisk(osDisk);
            return this;
        }
        public Builder setResourceGroupName(final String resourceGroupName) {
            clusterLaunchSpecificationAks.setResourceGroupName(resourceGroupName);
            return this;
        }
        public Builder setTags(final List tags) {
            clusterLaunchSpecificationAks.setTags(tags);
            return this;
        }

        public Builder setManagedServiceIdentities(final List managedServiceIdentities) {
            clusterLaunchSpecificationAks.setManagedServiceIdentities(managedServiceIdentities);
            return this;
        }

        public ClusterLaunchSpecificationAks build() {
            return clusterLaunchSpecificationAks;
        }
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy