public class ViewerCertificate extends Object implements Serializable
A complex type that contains information about viewer certificates for this distribution.
Constructor and Description |
---|
ViewerCertificate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getCloudFrontDefaultCertificate()
If you want viewers to use HTTPS to request your objects and you're
using the CloudFront domain name of your distribution in your object
URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg),
set to true.
|
String |
getIAMCertificateId()
If you want viewers to use HTTPS to request your objects and you're
using an alternate domain name in your object URLs (for example,
https://example.com/logo.jpg), specify the IAM certificate identifier
of the custom viewer certificate for this distribution.
|
String |
getSSLSupportMethod()
If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests.
|
int |
hashCode() |
Boolean |
isCloudFrontDefaultCertificate()
If you want viewers to use HTTPS to request your objects and you're
using the CloudFront domain name of your distribution in your object
URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg),
set to true.
|
void |
setCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
If you want viewers to use HTTPS to request your objects and you're
using the CloudFront domain name of your distribution in your object
URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg),
set to true.
|
void |
setIAMCertificateId(String iAMCertificateId)
If you want viewers to use HTTPS to request your objects and you're
using an alternate domain name in your object URLs (for example,
https://example.com/logo.jpg), specify the IAM certificate identifier
of the custom viewer certificate for this distribution.
|
void |
setSSLSupportMethod(SSLSupportMethod sSLSupportMethod)
If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests.
|
void |
setSSLSupportMethod(String sSLSupportMethod)
If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ViewerCertificate |
withCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
If you want viewers to use HTTPS to request your objects and you're
using the CloudFront domain name of your distribution in your object
URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg),
set to true.
|
ViewerCertificate |
withIAMCertificateId(String iAMCertificateId)
If you want viewers to use HTTPS to request your objects and you're
using an alternate domain name in your object URLs (for example,
https://example.com/logo.jpg), specify the IAM certificate identifier
of the custom viewer certificate for this distribution.
|
ViewerCertificate |
withSSLSupportMethod(SSLSupportMethod sSLSupportMethod)
If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests.
|
ViewerCertificate |
withSSLSupportMethod(String sSLSupportMethod)
If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests.
|
public String getIAMCertificateId()
public void setIAMCertificateId(String iAMCertificateId)
iAMCertificateId
- If you want viewers to use HTTPS to request your objects and you're
using an alternate domain name in your object URLs (for example,
https://example.com/logo.jpg), specify the IAM certificate identifier
of the custom viewer certificate for this distribution. Specify either
this value or CloudFrontDefaultCertificate.public ViewerCertificate withIAMCertificateId(String iAMCertificateId)
Returns a reference to this object so that method calls can be chained together.
iAMCertificateId
- If you want viewers to use HTTPS to request your objects and you're
using an alternate domain name in your object URLs (for example,
https://example.com/logo.jpg), specify the IAM certificate identifier
of the custom viewer certificate for this distribution. Specify either
this value or CloudFrontDefaultCertificate.public Boolean isCloudFrontDefaultCertificate()
public void setCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
cloudFrontDefaultCertificate
- If you want viewers to use HTTPS to request your objects and you're
using the CloudFront domain name of your distribution in your object
URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg),
set to true. Omit this value if you are setting an IAMCertificateId.public ViewerCertificate withCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Returns a reference to this object so that method calls can be chained together.
cloudFrontDefaultCertificate
- If you want viewers to use HTTPS to request your objects and you're
using the CloudFront domain name of your distribution in your object
URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg),
set to true. Omit this value if you are setting an IAMCertificateId.public Boolean getCloudFrontDefaultCertificate()
public String getSSLSupportMethod()
Constraints:
Allowed Values: sni-only, vip
SSLSupportMethod
public void setSSLSupportMethod(String sSLSupportMethod)
Constraints:
Allowed Values: sni-only, vip
sSLSupportMethod
- If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests. Valid values are vip and
sni-only. If you specify vip, CloudFront uses dedicated IP addresses
for your content and can respond to HTTPS requests from any viewer.
However, you must request permission to use this feature, and you
incur additional monthly charges. If you specify sni-only, CloudFront
can only respond to HTTPS requests from viewers that support Server
Name Indication (SNI). All modern browsers support SNI, but some
browsers still in use don't support SNI. Do not specify a value for
SSLSupportMethod if you specified true for
CloudFrontDefaultCertificate.SSLSupportMethod
public ViewerCertificate withSSLSupportMethod(String sSLSupportMethod)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: sni-only, vip
sSLSupportMethod
- If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests. Valid values are vip and
sni-only. If you specify vip, CloudFront uses dedicated IP addresses
for your content and can respond to HTTPS requests from any viewer.
However, you must request permission to use this feature, and you
incur additional monthly charges. If you specify sni-only, CloudFront
can only respond to HTTPS requests from viewers that support Server
Name Indication (SNI). All modern browsers support SNI, but some
browsers still in use don't support SNI. Do not specify a value for
SSLSupportMethod if you specified true for
CloudFrontDefaultCertificate.SSLSupportMethod
public void setSSLSupportMethod(SSLSupportMethod sSLSupportMethod)
Constraints:
Allowed Values: sni-only, vip
sSLSupportMethod
- If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests. Valid values are vip and
sni-only. If you specify vip, CloudFront uses dedicated IP addresses
for your content and can respond to HTTPS requests from any viewer.
However, you must request permission to use this feature, and you
incur additional monthly charges. If you specify sni-only, CloudFront
can only respond to HTTPS requests from viewers that support Server
Name Indication (SNI). All modern browsers support SNI, but some
browsers still in use don't support SNI. Do not specify a value for
SSLSupportMethod if you specified true for
CloudFrontDefaultCertificate.SSLSupportMethod
public ViewerCertificate withSSLSupportMethod(SSLSupportMethod sSLSupportMethod)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: sni-only, vip
sSLSupportMethod
- If you specify a value for IAMCertificateId, you must also specify how
you want CloudFront to serve HTTPS requests. Valid values are vip and
sni-only. If you specify vip, CloudFront uses dedicated IP addresses
for your content and can respond to HTTPS requests from any viewer.
However, you must request permission to use this feature, and you
incur additional monthly charges. If you specify sni-only, CloudFront
can only respond to HTTPS requests from viewers that support Server
Name Indication (SNI). All modern browsers support SNI, but some
browsers still in use don't support SNI. Do not specify a value for
SSLSupportMethod if you specified true for
CloudFrontDefaultCertificate.SSLSupportMethod
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.