public class S3Origin extends Object implements Serializable, Cloneable
Constructor and Description |
---|
S3Origin()
Default constructor for S3Origin object.
|
S3Origin(String domainName)
Constructs a new S3Origin object.
|
S3Origin(String domainName,
String originAccessIdentity)
Constructs a new S3Origin object.
|
Modifier and Type | Method and Description |
---|---|
S3Origin |
clone() |
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.
|
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.public void setDomainName(String domainName)
domainName
- The DNS name of the S3 origin.public String getDomainName()
public S3Origin withDomainName(String domainName)
domainName
- The DNS name of the S3 origin.public void setOriginAccessIdentity(String originAccessIdentity)
originAccessIdentity
- Your S3 origin's origin access identity.public String getOriginAccessIdentity()
public S3Origin withOriginAccessIdentity(String originAccessIdentity)
originAccessIdentity
- Your S3 origin's origin access identity.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.