public class Signer extends Object implements Serializable
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 and Description |
---|
Signer()
Default constructor for a new Signer object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Signer()
public String getAwsAccountNumber()
public void setAwsAccountNumber(String awsAccountNumber)
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.public Signer withAwsAccountNumber(String awsAccountNumber)
Returns a reference to this object so that method calls can be chained together.
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.public KeyPairIds getKeyPairIds()
public void setKeyPairIds(KeyPairIds keyPairIds)
keyPairIds
- A complex type that lists the active CloudFront key pairs, if any,
that are associated with AwsAccountNumber.public Signer withKeyPairIds(KeyPairIds keyPairIds)
Returns a reference to this object so that method calls can be chained together.
keyPairIds
- A complex type that lists the active CloudFront key pairs, if any,
that are associated with AwsAccountNumber.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.