@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 Elemental 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.
|
AwsCloudFrontDistributionOriginS3OriginConfig |
getS3OriginConfig()
An origin that is an S3 bucket that is not configured with static website hosting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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.
|
void |
setS3OriginConfig(AwsCloudFrontDistributionOriginS3OriginConfig s3OriginConfig)
An origin that is an S3 bucket that is not configured with static website hosting.
|
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.
|
AwsCloudFrontDistributionOriginItem |
withS3OriginConfig(AwsCloudFrontDistributionOriginS3OriginConfig s3OriginConfig)
An origin that is an S3 bucket that is not configured with static website hosting.
|
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 void setS3OriginConfig(AwsCloudFrontDistributionOriginS3OriginConfig s3OriginConfig)
An origin that is an S3 bucket that is not configured with static website hosting.
s3OriginConfig
- An origin that is an S3 bucket that is not configured with static website hosting.public AwsCloudFrontDistributionOriginS3OriginConfig getS3OriginConfig()
An origin that is an S3 bucket that is not configured with static website hosting.
public AwsCloudFrontDistributionOriginItem withS3OriginConfig(AwsCloudFrontDistributionOriginS3OriginConfig s3OriginConfig)
An origin that is an S3 bucket that is not configured with static website hosting.
s3OriginConfig
- An origin that is an S3 bucket that is not configured with static website hosting.public String toString()
toString
in class Object
Object.toString()
public AwsCloudFrontDistributionOriginItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.