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

com.yahoo.athenz.msd.DynamicWorkload Maven / Gradle / Ivy

There is a newer version: 1.12.5
Show newest version
//
// This file generated by rdl 1.5.2. Do not modify!
//

package com.yahoo.athenz.msd;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import com.yahoo.rdl.*;

//
// DynamicWorkload - workload type describing workload bootstrapped with an
// identity
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DynamicWorkload {
    public String domainName;
    public String serviceName;
    public String uuid;
    public List ipAddresses;
    public String hostname;
    public String provider;
    public Timestamp updateTime;
    public Timestamp certExpiryTime;
    @RdlOptional
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    public Timestamp certIssueTime;

    public DynamicWorkload setDomainName(String domainName) {
        this.domainName = domainName;
        return this;
    }
    public String getDomainName() {
        return domainName;
    }
    public DynamicWorkload setServiceName(String serviceName) {
        this.serviceName = serviceName;
        return this;
    }
    public String getServiceName() {
        return serviceName;
    }
    public DynamicWorkload setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }
    public String getUuid() {
        return uuid;
    }
    public DynamicWorkload setIpAddresses(List ipAddresses) {
        this.ipAddresses = ipAddresses;
        return this;
    }
    public List getIpAddresses() {
        return ipAddresses;
    }
    public DynamicWorkload setHostname(String hostname) {
        this.hostname = hostname;
        return this;
    }
    public String getHostname() {
        return hostname;
    }
    public DynamicWorkload setProvider(String provider) {
        this.provider = provider;
        return this;
    }
    public String getProvider() {
        return provider;
    }
    public DynamicWorkload setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
        return this;
    }
    public Timestamp getUpdateTime() {
        return updateTime;
    }
    public DynamicWorkload setCertExpiryTime(Timestamp certExpiryTime) {
        this.certExpiryTime = certExpiryTime;
        return this;
    }
    public Timestamp getCertExpiryTime() {
        return certExpiryTime;
    }
    public DynamicWorkload setCertIssueTime(Timestamp certIssueTime) {
        this.certIssueTime = certIssueTime;
        return this;
    }
    public Timestamp getCertIssueTime() {
        return certIssueTime;
    }

    @Override
    public boolean equals(Object another) {
        if (this != another) {
            if (another == null || another.getClass() != DynamicWorkload.class) {
                return false;
            }
            DynamicWorkload a = (DynamicWorkload) another;
            if (domainName == null ? a.domainName != null : !domainName.equals(a.domainName)) {
                return false;
            }
            if (serviceName == null ? a.serviceName != null : !serviceName.equals(a.serviceName)) {
                return false;
            }
            if (uuid == null ? a.uuid != null : !uuid.equals(a.uuid)) {
                return false;
            }
            if (ipAddresses == null ? a.ipAddresses != null : !ipAddresses.equals(a.ipAddresses)) {
                return false;
            }
            if (hostname == null ? a.hostname != null : !hostname.equals(a.hostname)) {
                return false;
            }
            if (provider == null ? a.provider != null : !provider.equals(a.provider)) {
                return false;
            }
            if (updateTime == null ? a.updateTime != null : !updateTime.equals(a.updateTime)) {
                return false;
            }
            if (certExpiryTime == null ? a.certExpiryTime != null : !certExpiryTime.equals(a.certExpiryTime)) {
                return false;
            }
            if (certIssueTime == null ? a.certIssueTime != null : !certIssueTime.equals(a.certIssueTime)) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy