@Generated(value="software.amazon.awssdk:codegen") public final class AwsCloudFrontDistributionOriginItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCloudFrontDistributionOriginItem.Builder,AwsCloudFrontDistributionOriginItem>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCloudFrontDistributionOriginItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsCloudFrontDistributionOriginItem.Builder |
builder() |
String |
domainName()
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this
origin.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique identifier for the origin or origin group.
|
String |
originPath()
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or
your custom origin.
|
AwsCloudFrontDistributionOriginS3OriginConfig |
s3OriginConfig()
An origin that is an S3 bucket that is not configured with static website hosting.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsCloudFrontDistributionOriginItem.Builder> |
serializableBuilderClass() |
AwsCloudFrontDistributionOriginItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin.
public final String id()
A unique identifier for the origin or origin group.
public final 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 final AwsCloudFrontDistributionOriginS3OriginConfig s3OriginConfig()
An origin that is an S3 bucket that is not configured with static website hosting.
public AwsCloudFrontDistributionOriginItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsCloudFrontDistributionOriginItem.Builder,AwsCloudFrontDistributionOriginItem>public static AwsCloudFrontDistributionOriginItem.Builder builder()
public static Class<? extends AwsCloudFrontDistributionOriginItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.