java.lang.Object
com.amazonaws.services.cloudfront.model.Signer
All Implemented Interfaces:
Serializable, Cloneable

public class Signer extends Object implements Serializable, Cloneable
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.
See Also:
  • Constructor Details

    • Signer

      public Signer()
  • Method Details

    • 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.
    • 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.
    • 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.
      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:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • withKeyPairIds

      public Signer withKeyPairIds(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.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Signer clone()
      Overrides:
      clone in class Object