com.amazonaws.services.cloudfront.model
Class TrustedSigners

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

public class TrustedSigners
extends Object

The trusted signers of the URL.


Constructor Summary
TrustedSigners()
          Default constructor for a new TrustedSigners object.
TrustedSigners(List<String> awsAccountNumbers)
          Constructs a new TrustedSigners object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrustedSigners

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


TrustedSigners

public TrustedSigners(List<String> awsAccountNumbers)
Constructs a new TrustedSigners object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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.
Method Detail

getSelf

public String getSelf()
Include this empty element if you want to give your own AWS account permission to create signed URLs.

Returns:
Include this empty element if you want to give your own AWS account permission to create signed URLs.

setSelf

public void setSelf(String self)
Include this empty element if you want to give your own AWS account permission to create signed URLs.

Parameters:
self - Include this empty element if you want to give your own AWS account permission to create signed URLs.

withSelf

public TrustedSigners withSelf(String self)
Include this empty element if you want to give your own AWS account permission to create signed URLs.

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

Parameters:
self - Include this empty element if you want to give your own AWS account permission to create signed URLs.
Returns:
A reference to this updated object so that method calls can be chained together.

getAwsAccountNumbers

public List<String> getAwsAccountNumbers()
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.

Returns:
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.

setAwsAccountNumbers

public void setAwsAccountNumbers(Collection<String> 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.

Parameters:
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.

withAwsAccountNumbers

public TrustedSigners withAwsAccountNumbers(String... 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.

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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withAwsAccountNumbers

public TrustedSigners withAwsAccountNumbers(Collection<String> 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.

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

Parameters:
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.
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.