Class Signer
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Signer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Signer
clone()
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.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-