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

shiver.me.timbers.aws.cloudfront.DistributionViewerCertificate Maven / Gradle / Ivy


package shiver.me.timbers.aws.cloudfront;

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;


/**
 * DistributionViewerCertificate
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "IamCertificateId", "SslSupportMethod", "MinimumProtocolVersion", "CloudFrontDefaultCertificate", "AcmCertificateArn" }) public class DistributionViewerCertificate implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-iamcertificateid * */ @JsonProperty("IamCertificateId") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-iamcertificateid") private CharSequence iamCertificateId; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-sslsupportmethod * */ @JsonProperty("SslSupportMethod") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-sslsupportmethod") private CharSequence sslSupportMethod; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-minimumprotocolversion * */ @JsonProperty("MinimumProtocolVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-minimumprotocolversion") private CharSequence minimumProtocolVersion; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-cloudfrontdefaultcertificate * */ @JsonProperty("CloudFrontDefaultCertificate") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-cloudfrontdefaultcertificate") private CharSequence cloudFrontDefaultCertificate; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-acmcertificatearn * */ @JsonProperty("AcmCertificateArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-acmcertificatearn") private CharSequence acmCertificateArn; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-iamcertificateid * */ @JsonIgnore public CharSequence getIamCertificateId() { return iamCertificateId; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-iamcertificateid * */ @JsonIgnore public void setIamCertificateId(CharSequence iamCertificateId) { this.iamCertificateId = iamCertificateId; } public DistributionViewerCertificate withIamCertificateId(CharSequence iamCertificateId) { this.iamCertificateId = iamCertificateId; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-sslsupportmethod * */ @JsonIgnore public CharSequence getSslSupportMethod() { return sslSupportMethod; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-sslsupportmethod * */ @JsonIgnore public void setSslSupportMethod(CharSequence sslSupportMethod) { this.sslSupportMethod = sslSupportMethod; } public DistributionViewerCertificate withSslSupportMethod(CharSequence sslSupportMethod) { this.sslSupportMethod = sslSupportMethod; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-minimumprotocolversion * */ @JsonIgnore public CharSequence getMinimumProtocolVersion() { return minimumProtocolVersion; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-minimumprotocolversion * */ @JsonIgnore public void setMinimumProtocolVersion(CharSequence minimumProtocolVersion) { this.minimumProtocolVersion = minimumProtocolVersion; } public DistributionViewerCertificate withMinimumProtocolVersion(CharSequence minimumProtocolVersion) { this.minimumProtocolVersion = minimumProtocolVersion; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-cloudfrontdefaultcertificate * */ @JsonIgnore public CharSequence getCloudFrontDefaultCertificate() { return cloudFrontDefaultCertificate; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-cloudfrontdefaultcertificate * */ @JsonIgnore public void setCloudFrontDefaultCertificate(CharSequence cloudFrontDefaultCertificate) { this.cloudFrontDefaultCertificate = cloudFrontDefaultCertificate; } public DistributionViewerCertificate withCloudFrontDefaultCertificate(CharSequence cloudFrontDefaultCertificate) { this.cloudFrontDefaultCertificate = cloudFrontDefaultCertificate; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-acmcertificatearn * */ @JsonIgnore public CharSequence getAcmCertificateArn() { return acmCertificateArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-acmcertificatearn * */ @JsonIgnore public void setAcmCertificateArn(CharSequence acmCertificateArn) { this.acmCertificateArn = acmCertificateArn; } public DistributionViewerCertificate withAcmCertificateArn(CharSequence acmCertificateArn) { this.acmCertificateArn = acmCertificateArn; return this; } @Override public String toString() { return new ToStringBuilder(this).append("iamCertificateId", iamCertificateId).append("sslSupportMethod", sslSupportMethod).append("minimumProtocolVersion", minimumProtocolVersion).append("cloudFrontDefaultCertificate", cloudFrontDefaultCertificate).append("acmCertificateArn", acmCertificateArn).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(cloudFrontDefaultCertificate).append(acmCertificateArn).append(minimumProtocolVersion).append(iamCertificateId).append(sslSupportMethod).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof DistributionViewerCertificate) == false) { return false; } DistributionViewerCertificate rhs = ((DistributionViewerCertificate) other); return new EqualsBuilder().append(cloudFrontDefaultCertificate, rhs.cloudFrontDefaultCertificate).append(acmCertificateArn, rhs.acmCertificateArn).append(minimumProtocolVersion, rhs.minimumProtocolVersion).append(iamCertificateId, rhs.iamCertificateId).append(sslSupportMethod, rhs.sslSupportMethod).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy