Class AwsCloudFrontDistributionOriginItem
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsCloudFrontDistributionOriginItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsCloudFrontDistributionOriginItem.Builder,AwsCloudFrontDistributionOriginItem>
@Generated("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), Elemental MediaStore, or other server from which CloudFront gets your files.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsCloudFrontDistributionOriginItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsCloudFrontDistributionOriginItem.Builderbuilder()AwsCloudFrontDistributionOriginCustomOriginConfigcustomOriginConfig()An origin that is not an Amazon S3 bucket, with one exception.StringdomainName()Amazon S3 origins: The DNS name of the S3 bucket from which you want CloudFront to get objects for this origin.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A unique identifier for the origin or origin group.StringoriginPath()An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.AwsCloudFrontDistributionOriginS3OriginConfigs3OriginConfig()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
domainName
public final String domainName()
Amazon S3 origins: The DNS name of the S3 bucket from which you want CloudFront to get objects for this origin.
- Returns:
- Amazon S3 origins: The DNS name of the S3 bucket from which you want CloudFront to get objects for this origin.
-
id
public final String id()
A unique identifier for the origin or origin group.
- Returns:
- A unique identifier for the origin or origin group.
-
originPath
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.
- Returns:
- An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
-
s3OriginConfig
public final AwsCloudFrontDistributionOriginS3OriginConfig s3OriginConfig()
An origin that is an S3 bucket that is not configured with static website hosting.
- Returns:
- An origin that is an S3 bucket that is not configured with static website hosting.
-
customOriginConfig
public final AwsCloudFrontDistributionOriginCustomOriginConfig customOriginConfig()
An origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this attribute. If the Amazon S3 bucket is not configured with static website hosting, use the
S3OriginConfigtype instead.- Returns:
- An origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with
static website hosting, use this attribute. If the Amazon S3 bucket is not configured with static website
hosting, use the
S3OriginConfigtype instead.
-
toBuilder
public AwsCloudFrontDistributionOriginItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsCloudFrontDistributionOriginItem.Builder,AwsCloudFrontDistributionOriginItem>
-
builder
public static AwsCloudFrontDistributionOriginItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsCloudFrontDistributionOriginItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-