@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionViewerCertificate extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the TLS/SSL configuration that the CloudFront distribution uses to communicate with viewers.
| Constructor and Description |
|---|
AwsCloudFrontDistributionViewerCertificate() |
| Modifier and Type | Method and Description |
|---|---|
AwsCloudFrontDistributionViewerCertificate |
clone() |
boolean |
equals(Object obj) |
String |
getAcmCertificateArn()
The ARN of the ACM certificate.
|
String |
getCertificate()
The identifier of the certificate.
|
String |
getCertificateSource()
The source of the certificate identified by
Certificate. |
Boolean |
getCloudFrontDefaultCertificate()
Whether the distribution uses the CloudFront domain name.
|
String |
getIamCertificateId()
The identifier of the IAM certificate.
|
String |
getMinimumProtocolVersion()
The security policy that CloudFront uses for HTTPS connections with viewers.
|
String |
getSslSupportMethod()
The viewers that the distribution accepts HTTPS connections from.
|
int |
hashCode() |
Boolean |
isCloudFrontDefaultCertificate()
Whether the distribution uses the CloudFront domain name.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAcmCertificateArn(String acmCertificateArn)
The ARN of the ACM certificate.
|
void |
setCertificate(String certificate)
The identifier of the certificate.
|
void |
setCertificateSource(String certificateSource)
The source of the certificate identified by
Certificate. |
void |
setCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Whether the distribution uses the CloudFront domain name.
|
void |
setIamCertificateId(String iamCertificateId)
The identifier of the IAM certificate.
|
void |
setMinimumProtocolVersion(String minimumProtocolVersion)
The security policy that CloudFront uses for HTTPS connections with viewers.
|
void |
setSslSupportMethod(String sslSupportMethod)
The viewers that the distribution accepts HTTPS connections from.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionViewerCertificate |
withAcmCertificateArn(String acmCertificateArn)
The ARN of the ACM certificate.
|
AwsCloudFrontDistributionViewerCertificate |
withCertificate(String certificate)
The identifier of the certificate.
|
AwsCloudFrontDistributionViewerCertificate |
withCertificateSource(String certificateSource)
The source of the certificate identified by
Certificate. |
AwsCloudFrontDistributionViewerCertificate |
withCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Whether the distribution uses the CloudFront domain name.
|
AwsCloudFrontDistributionViewerCertificate |
withIamCertificateId(String iamCertificateId)
The identifier of the IAM certificate.
|
AwsCloudFrontDistributionViewerCertificate |
withMinimumProtocolVersion(String minimumProtocolVersion)
The security policy that CloudFront uses for HTTPS connections with viewers.
|
AwsCloudFrontDistributionViewerCertificate |
withSslSupportMethod(String sslSupportMethod)
The viewers that the distribution accepts HTTPS connections from.
|
public AwsCloudFrontDistributionViewerCertificate()
public void setAcmCertificateArn(String acmCertificateArn)
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN,
you must also provide MinimumCertificateVersion and SslSupportMethod.
acmCertificateArn - The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM
certificate ARN, you must also provide MinimumCertificateVersion and
SslSupportMethod.public String getAcmCertificateArn()
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN,
you must also provide MinimumCertificateVersion and SslSupportMethod.
MinimumCertificateVersion and
SslSupportMethod.public AwsCloudFrontDistributionViewerCertificate withAcmCertificateArn(String acmCertificateArn)
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN,
you must also provide MinimumCertificateVersion and SslSupportMethod.
acmCertificateArn - The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM
certificate ARN, you must also provide MinimumCertificateVersion and
SslSupportMethod.public void setCertificate(String certificate)
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
certificate - The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.public String getCertificate()
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
public AwsCloudFrontDistributionViewerCertificate withCertificate(String certificate)
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
certificate - The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.public void setCertificateSource(String certificateSource)
The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is
deprecated.
certificateSource - The source of the certificate identified by Certificate. Note that in CloudFront, this
attribute is deprecated.public String getCertificateSource()
The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is
deprecated.
Certificate. Note that in CloudFront, this
attribute is deprecated.public AwsCloudFrontDistributionViewerCertificate withCertificateSource(String certificateSource)
The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is
deprecated.
certificateSource - The source of the certificate identified by Certificate. Note that in CloudFront, this
attribute is deprecated.public void setCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Whether the distribution uses the CloudFront domain name. If set to false, then you provide either
AcmCertificateArn or IamCertificateId.
cloudFrontDefaultCertificate - Whether the distribution uses the CloudFront domain name. If set to false, then you provide
either AcmCertificateArn or IamCertificateId.public Boolean getCloudFrontDefaultCertificate()
Whether the distribution uses the CloudFront domain name. If set to false, then you provide either
AcmCertificateArn or IamCertificateId.
false, then you provide
either AcmCertificateArn or IamCertificateId.public AwsCloudFrontDistributionViewerCertificate withCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Whether the distribution uses the CloudFront domain name. If set to false, then you provide either
AcmCertificateArn or IamCertificateId.
cloudFrontDefaultCertificate - Whether the distribution uses the CloudFront domain name. If set to false, then you provide
either AcmCertificateArn or IamCertificateId.public Boolean isCloudFrontDefaultCertificate()
Whether the distribution uses the CloudFront domain name. If set to false, then you provide either
AcmCertificateArn or IamCertificateId.
false, then you provide
either AcmCertificateArn or IamCertificateId.public void setIamCertificateId(String iamCertificateId)
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provide MinimumProtocolVersion and
SslSupportMethod.
iamCertificateId - The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provide MinimumProtocolVersion and
SslSupportMethod.public String getIamCertificateId()
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provide MinimumProtocolVersion and
SslSupportMethod.
IamCertificateId, then you also must provide MinimumProtocolVersion and
SslSupportMethod.public AwsCloudFrontDistributionViewerCertificate withIamCertificateId(String iamCertificateId)
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provide MinimumProtocolVersion and
SslSupportMethod.
iamCertificateId - The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provide MinimumProtocolVersion and
SslSupportMethod.public void setMinimumProtocolVersion(String minimumProtocolVersion)
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is
sni-only, then MinimumProtocolVersion must be TLSv1 or higher.
minimumProtocolVersion - The security policy that CloudFront uses for HTTPS connections with viewers. If
SslSupportMethod is sni-only, then MinimumProtocolVersion must be
TLSv1 or higher.public String getMinimumProtocolVersion()
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is
sni-only, then MinimumProtocolVersion must be TLSv1 or higher.
SslSupportMethod is sni-only, then MinimumProtocolVersion must be
TLSv1 or higher.public AwsCloudFrontDistributionViewerCertificate withMinimumProtocolVersion(String minimumProtocolVersion)
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is
sni-only, then MinimumProtocolVersion must be TLSv1 or higher.
minimumProtocolVersion - The security policy that CloudFront uses for HTTPS connections with viewers. If
SslSupportMethod is sni-only, then MinimumProtocolVersion must be
TLSv1 or higher.public void setSslSupportMethod(String sslSupportMethod)
The viewers that the distribution accepts HTTPS connections from.
sslSupportMethod - The viewers that the distribution accepts HTTPS connections from.public String getSslSupportMethod()
The viewers that the distribution accepts HTTPS connections from.
public AwsCloudFrontDistributionViewerCertificate withSslSupportMethod(String sslSupportMethod)
The viewers that the distribution accepts HTTPS connections from.
sslSupportMethod - The viewers that the distribution accepts HTTPS connections from.public String toString()
toString in class ObjectObject.toString()public AwsCloudFrontDistributionViewerCertificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.