Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class Signer

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.Signer

public class Signer
extends Object

A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.


Constructor Summary
Signer()
          Default constructor for a new Signer object.
 
Method Summary
 boolean equals(Object obj)
           
 String getAwsAccountNumber()
          Specifies an AWS account that can create signed URLs.
 KeyPairIds getKeyPairIds()
          A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
 int hashCode()
           
 void setAwsAccountNumber(String awsAccountNumber)
          Specifies an AWS account that can create signed URLs.
 void setKeyPairIds(KeyPairIds keyPairIds)
          A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Signer withAwsAccountNumber(String awsAccountNumber)
          Specifies an AWS account that can create signed URLs.
 Signer withKeyPairIds(KeyPairIds keyPairIds)
          A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Signer

public Signer()
Default constructor for a new Signer object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getAwsAccountNumber

public String getAwsAccountNumber()
Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.

Returns:
Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.

setAwsAccountNumber

public void setAwsAccountNumber(String awsAccountNumber)
Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.

Parameters:
awsAccountNumber - Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.

withAwsAccountNumber

public Signer withAwsAccountNumber(String awsAccountNumber)
Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.

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

Parameters:
awsAccountNumber - Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.
Returns:
A reference to this updated object so that method calls can be chained together.

getKeyPairIds

public KeyPairIds getKeyPairIds()
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

Returns:
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

setKeyPairIds

public void setKeyPairIds(KeyPairIds keyPairIds)
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

Parameters:
keyPairIds - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

withKeyPairIds

public Signer withKeyPairIds(KeyPairIds keyPairIds)
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

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

Parameters:
keyPairIds - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
Returns:
A reference to this updated object so that method calls can be chained together.

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.