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()
Set to true if you want to use the default *.cloudfront.net viewer
certificate for this distribution.
|
String |
getIAMCertificateId()
The IAM certificate identifier of the custom viewer certificate for
this distribution.
|
int |
hashCode() |
Boolean |
isCloudFrontDefaultCertificate()
Set to true if you want to use the default *.cloudfront.net viewer
certificate for this distribution.
|
void |
setCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Set to true if you want to use the default *.cloudfront.net viewer
certificate for this distribution.
|
void |
setIAMCertificateId(String iAMCertificateId)
The IAM certificate identifier of the custom viewer certificate for
this distribution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ViewerCertificate |
withCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
Set to true if you want to use the default *.cloudfront.net viewer
certificate for this distribution.
|
ViewerCertificate |
withIAMCertificateId(String iAMCertificateId)
The IAM certificate identifier of the custom viewer certificate for
this distribution.
|
public String getIAMCertificateId()
public void setIAMCertificateId(String iAMCertificateId)
iAMCertificateId
- The IAM certificate identifier of the custom viewer certificate for
this distribution.public ViewerCertificate withIAMCertificateId(String iAMCertificateId)
Returns a reference to this object so that method calls can be chained together.
iAMCertificateId
- The IAM certificate identifier of the custom viewer certificate for
this distribution.public Boolean isCloudFrontDefaultCertificate()
public void setCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)
cloudFrontDefaultCertificate
- Set to true if you want to use the default *.cloudfront.net viewer
certificate for this distribution. 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
- Set to true if you want to use the default *.cloudfront.net viewer
certificate for this distribution. Omit this value if you are setting
an IAMCertificateId.public Boolean getCloudFrontDefaultCertificate()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.