Class S3Origin
java.lang.Object
com.amazonaws.services.cloudfront.model.S3Origin
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains information about the Amazon S3 bucket from
which you want CloudFront to get your media files for distribution.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The DNS name of the S3 origin.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDomainName
(String domainName) The DNS name of the S3 origin.withOriginAccessIdentity
(String originAccessIdentity) Your S3 origin's origin access identity.
-
Constructor Details
-
S3Origin
public S3Origin()Default constructor for S3Origin object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
S3Origin
Constructs a new S3Origin object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
domainName
- The DNS name of the S3 origin.
-
S3Origin
Constructs a new S3Origin object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
domainName
- The DNS name of the S3 origin.originAccessIdentity
- Your S3 origin's origin access identity.
-
-
Method Details
-
setDomainName
The DNS name of the S3 origin.- Parameters:
domainName
- The DNS name of the S3 origin.
-
getDomainName
The DNS name of the S3 origin.- Returns:
- The DNS name of the S3 origin.
-
withDomainName
The DNS name of the S3 origin.- Parameters:
domainName
- The DNS name of the S3 origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOriginAccessIdentity
Your S3 origin's origin access identity.- Parameters:
originAccessIdentity
- Your S3 origin's origin access identity.
-
getOriginAccessIdentity
Your S3 origin's origin access identity.- Returns:
- Your S3 origin's origin access identity.
-
withOriginAccessIdentity
Your S3 origin's origin access identity.- Parameters:
originAccessIdentity
- Your S3 origin's origin access identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-