@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionOriginItem extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that describes the Amazon S3 bucket, HTTP server (for example, a web server), Amazon MediaStore, or other server from which CloudFront gets your files.
| Constructor and Description |
|---|
AwsCloudFrontDistributionOriginItem() |
| Modifier and Type | Method and Description |
|---|---|
AwsCloudFrontDistributionOriginItem |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this
origin.
|
String |
getId()
A unique identifier for the origin or origin group.
|
String |
getOriginPath()
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or
your custom origin.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDomainName(String domainName)
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this
origin.
|
void |
setId(String id)
A unique identifier for the origin or origin group.
|
void |
setOriginPath(String originPath)
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or
your custom origin.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionOriginItem |
withDomainName(String domainName)
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this
origin.
|
AwsCloudFrontDistributionOriginItem |
withId(String id)
A unique identifier for the origin or origin group.
|
AwsCloudFrontDistributionOriginItem |
withOriginPath(String originPath)
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or
your custom origin.
|
public void setDomainName(String domainName)
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin.
domainName - Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for
this origin.public String getDomainName()
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin.
public AwsCloudFrontDistributionOriginItem withDomainName(String domainName)
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin.
domainName - Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for
this origin.public void setId(String id)
A unique identifier for the origin or origin group.
id - A unique identifier for the origin or origin group.public String getId()
A unique identifier for the origin or origin group.
public AwsCloudFrontDistributionOriginItem withId(String id)
A unique identifier for the origin or origin group.
id - A unique identifier for the origin or origin group.public void setOriginPath(String originPath)
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
originPath - An optional element that causes CloudFront to request your content from a directory in your Amazon S3
bucket or your custom origin.public String getOriginPath()
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
public AwsCloudFrontDistributionOriginItem withOriginPath(String originPath)
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
originPath - An optional element that causes CloudFront to request your content from a directory in your Amazon S3
bucket or your custom origin.public String toString()
toString in class ObjectObject.toString()public AwsCloudFrontDistributionOriginItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.