public class TrustedSigners extends Object
The trusted signers of the URL.
Constructor and Description |
---|
TrustedSigners()
Default constructor for a new TrustedSigners object.
|
TrustedSigners(List<String> awsAccountNumbers)
Constructs a new TrustedSigners object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getAwsAccountNumbers()
Specifies an AWS account that can create signed URLs.
|
String |
getSelf()
Include this empty element if you want to give your own AWS account
permission to create signed URLs.
|
int |
hashCode() |
void |
setAwsAccountNumbers(Collection<String> awsAccountNumbers)
Specifies an AWS account that can create signed URLs.
|
void |
setSelf(String self)
Include this empty element if you want to give your own AWS account
permission to create signed URLs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedSigners |
withAwsAccountNumbers(Collection<String> awsAccountNumbers)
Specifies an AWS account that can create signed URLs.
|
TrustedSigners |
withAwsAccountNumbers(String... awsAccountNumbers)
Specifies an AWS account that can create signed URLs.
|
TrustedSigners |
withSelf(String self)
Include this empty element if you want to give your own AWS account
permission to create signed URLs.
|
public TrustedSigners()
public TrustedSigners(List<String> awsAccountNumbers)
awsAccountNumbers
- Specifies an AWS account that can create
signed URLs. Remove the dashes. You can specify up to five accounts,
each with its own AwsAccountNumber element.public String getSelf()
public void setSelf(String self)
self
- Include this empty element if you want to give your own AWS account
permission to create signed URLs.public TrustedSigners withSelf(String self)
Returns a reference to this object so that method calls can be chained together.
self
- Include this empty element if you want to give your own AWS account
permission to create signed URLs.public List<String> getAwsAccountNumbers()
public void setAwsAccountNumbers(Collection<String> awsAccountNumbers)
awsAccountNumbers
- Specifies an AWS account that can create signed URLs. Remove the
dashes. You can specify up to five accounts, each with its own
AwsAccountNumber element.public TrustedSigners withAwsAccountNumbers(String... awsAccountNumbers)
Returns a reference to this object so that method calls can be chained together.
awsAccountNumbers
- Specifies an AWS account that can create signed URLs. Remove the
dashes. You can specify up to five accounts, each with its own
AwsAccountNumber element.public TrustedSigners withAwsAccountNumbers(Collection<String> awsAccountNumbers)
Returns a reference to this object so that method calls can be chained together.
awsAccountNumbers
- Specifies an AWS account that can create signed URLs. Remove the
dashes. You can specify up to five accounts, each with its own
AwsAccountNumber element.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.