Class AwsCloudFrontDistributionOriginItem

    • 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 S3OriginConfig type 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 S3OriginConfig type instead.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)