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

com.spotinst.sdkjava.model.bl.aws.managedInstance.Route53 Maven / Gradle / Ivy

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

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 Route53 {

    @JsonIgnore
    private Set         isSet;
    private List       domains;

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

    public Set getIsSet() {
        return isSet;
    }

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

    public List getDomains() {
        return domains;
    }

    public void setDomains(List domains) {
        isSet.add("domains");
        this.domains = domains;
    }

    public static class Builder {
        private Route53 route53;

        private Builder() {
            this.route53 = new Route53();
        }

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

        public Builder setDomains(final List domains) {
            route53.setDomains(domains);
            return this;
        }

        public Route53 build() {
            return route53;
        }
    }

    @JsonIgnore
    public boolean isDomainsSet() {
        return isSet.contains("domains");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy