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

shiver.me.timbers.aws.appmesh.VirtualNodeServiceDiscovery Maven / Gradle / Ivy


package shiver.me.timbers.aws.appmesh;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * VirtualNodeServiceDiscovery
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "DNS", "AWSCloudMap" }) public class VirtualNodeServiceDiscovery implements Property { /** * VirtualNodeDnsServiceDiscovery *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html * */ @JsonProperty("DNS") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html") private Property dNS; /** * VirtualNodeAwsCloudMapServiceDiscovery *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html * */ @JsonProperty("AWSCloudMap") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html") private Property aWSCloudMap; /** * VirtualNodeDnsServiceDiscovery *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html * */ @JsonIgnore public Property getDNS() { return dNS; } /** * VirtualNodeDnsServiceDiscovery *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html * */ @JsonIgnore public void setDNS(Property dNS) { this.dNS = dNS; } public VirtualNodeServiceDiscovery withDNS(Property dNS) { this.dNS = dNS; return this; } /** * VirtualNodeAwsCloudMapServiceDiscovery *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html * */ @JsonIgnore public Property getAWSCloudMap() { return aWSCloudMap; } /** * VirtualNodeAwsCloudMapServiceDiscovery *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html * */ @JsonIgnore public void setAWSCloudMap(Property aWSCloudMap) { this.aWSCloudMap = aWSCloudMap; } public VirtualNodeServiceDiscovery withAWSCloudMap(Property aWSCloudMap) { this.aWSCloudMap = aWSCloudMap; return this; } @Override public String toString() { return new ToStringBuilder(this).append("dNS", dNS).append("aWSCloudMap", aWSCloudMap).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(dNS).append(aWSCloudMap).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof VirtualNodeServiceDiscovery) == false) { return false; } VirtualNodeServiceDiscovery rhs = ((VirtualNodeServiceDiscovery) other); return new EqualsBuilder().append(dNS, rhs.dNS).append(aWSCloudMap, rhs.aWSCloudMap).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy