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

shiver.me.timbers.aws.certificatemanager.CertificateDomainValidationOption Maven / Gradle / Ivy


package shiver.me.timbers.aws.certificatemanager;

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;


/**
 * CertificateDomainValidationOption
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "DomainName", "ValidationDomain" }) public class CertificateDomainValidationOption implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoptions-domainname * */ @JsonProperty("DomainName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoptions-domainname") private CharSequence domainName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain * */ @JsonProperty("ValidationDomain") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain") private CharSequence validationDomain; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoptions-domainname * */ @JsonIgnore public CharSequence getDomainName() { return domainName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoptions-domainname * */ @JsonIgnore public void setDomainName(CharSequence domainName) { this.domainName = domainName; } public CertificateDomainValidationOption withDomainName(CharSequence domainName) { this.domainName = domainName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain * */ @JsonIgnore public CharSequence getValidationDomain() { return validationDomain; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain * */ @JsonIgnore public void setValidationDomain(CharSequence validationDomain) { this.validationDomain = validationDomain; } public CertificateDomainValidationOption withValidationDomain(CharSequence validationDomain) { this.validationDomain = validationDomain; return this; } @Override public String toString() { return new ToStringBuilder(this).append("domainName", domainName).append("validationDomain", validationDomain).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(validationDomain).append(domainName).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof CertificateDomainValidationOption) == false) { return false; } CertificateDomainValidationOption rhs = ((CertificateDomainValidationOption) other); return new EqualsBuilder().append(validationDomain, rhs.validationDomain).append(domainName, rhs.domainName).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy