|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.S3Origin
public class S3Origin
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
Constructor Summary | |
---|---|
S3Origin()
Default constructor for a new S3Origin object. |
|
S3Origin(String domainName)
Constructs a new S3Origin object. |
|
S3Origin(String domainName,
String originAccessIdentity)
Constructs a new S3Origin object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDomainName()
The DNS name of the S3 origin. |
String |
getOriginAccessIdentity()
Your S3 origin's origin access identity. |
int |
hashCode()
|
void |
setDomainName(String domainName)
The DNS name of the S3 origin. |
void |
setOriginAccessIdentity(String originAccessIdentity)
Your S3 origin's origin access identity. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
S3Origin |
withDomainName(String domainName)
The DNS name of the S3 origin. |
S3Origin |
withOriginAccessIdentity(String originAccessIdentity)
Your S3 origin's origin access identity. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public S3Origin()
public S3Origin(String domainName)
domainName
- The DNS name of the S3 origin.public S3Origin(String domainName, String originAccessIdentity)
domainName
- The DNS name of the S3 origin.originAccessIdentity
- Your S3 origin's origin access identity.Method Detail |
---|
public String getDomainName()
public void setDomainName(String domainName)
domainName
- The DNS name of the S3 origin.public S3Origin withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
domainName
- The DNS name of the S3 origin.
public String getOriginAccessIdentity()
public void setOriginAccessIdentity(String originAccessIdentity)
originAccessIdentity
- Your S3 origin's origin access identity.public S3Origin withOriginAccessIdentity(String originAccessIdentity)
Returns a reference to this object so that method calls can be chained together.
originAccessIdentity
- Your S3 origin's origin access identity.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |