public class S3Origin extends Object
Your S3 origin bucket.
Constructor and Description |
---|
S3Origin()
Default constructor for a new S3Origin object.
|
S3Origin(String dNSName)
Constructs a new S3Origin object.
|
S3Origin(String dNSName,
String originAccessIdentity)
Constructs a new S3Origin object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDNSName()
The DNS name of the S3 origin.
|
String |
getOriginAccessIdentity()
Your S3 origin's origin access identity.
|
int |
hashCode() |
void |
setDNSName(String dNSName)
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 |
withDNSName(String dNSName)
The DNS name of the S3 origin.
|
S3Origin |
withOriginAccessIdentity(String originAccessIdentity)
Your S3 origin's origin access identity.
|
public S3Origin()
public S3Origin(String dNSName)
dNSName
- The DNS name of the S3 origin.public S3Origin(String dNSName, String originAccessIdentity)
dNSName
- The DNS name of the S3 origin.originAccessIdentity
- Your S3 origin's origin access identity.public String getDNSName()
public void setDNSName(String dNSName)
dNSName
- The DNS name of the S3 origin.public S3Origin withDNSName(String dNSName)
Returns a reference to this object so that method calls can be chained together.
dNSName
- 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()
Copyright © 2014. All rights reserved.