Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class ViewerCertificate

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.ViewerCertificate
All Implemented Interfaces:
Serializable

public class ViewerCertificate
extends Object
implements Serializable

A complex type that contains information about viewer certificates for this distribution.

See Also:
Serialized Form

Constructor Summary
ViewerCertificate()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewerCertificate

public ViewerCertificate()
Method Detail

getIAMCertificateId

public String getIAMCertificateId()
The IAM certificate identifier of the custom viewer certificate for this distribution.

Returns:
The IAM certificate identifier of the custom viewer certificate for this distribution.

setIAMCertificateId

public void setIAMCertificateId(String iAMCertificateId)
The IAM certificate identifier of the custom viewer certificate for this distribution.

Parameters:
iAMCertificateId - The IAM certificate identifier of the custom viewer certificate for this distribution.

withIAMCertificateId

public ViewerCertificate withIAMCertificateId(String iAMCertificateId)
The IAM certificate identifier of the custom viewer certificate for this distribution.

Returns a reference to this object so that method calls can be chained together.

Parameters:
iAMCertificateId - The IAM certificate identifier of the custom viewer certificate for this distribution.

isCloudFrontDefaultCertificate

public Boolean isCloudFrontDefaultCertificate()
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.

Returns:
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.

setCloudFrontDefaultCertificate

public void setCloudFrontDefaultCertificate(Boolean 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.

Parameters:
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.

withCloudFrontDefaultCertificate

public ViewerCertificate withCloudFrontDefaultCertificate(Boolean 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

getCloudFrontDefaultCertificate

public Boolean getCloudFrontDefaultCertificate()
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.

Returns:
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.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.