Interface StreamingDistributionConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StreamingDistributionConfig.Builder,StreamingDistributionConfig>, SdkBuilder<StreamingDistributionConfig.Builder,StreamingDistributionConfig>, SdkPojo
Enclosing class:
StreamingDistributionConfig

public static interface StreamingDistributionConfig.Builder extends SdkPojo, CopyableBuilder<StreamingDistributionConfig.Builder,StreamingDistributionConfig>
  • Method Details

    • callerReference

      StreamingDistributionConfig.Builder callerReference(String callerReference)

      A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

      If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

      If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

      Parameters:
      callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

      If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

      If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Origin

      A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

      Parameters:
      s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Origin

      A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

      This is a convenience method that creates an instance of the S3Origin.Builder avoiding the need to create one manually via S3Origin.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3Origin(S3Origin).

      Parameters:
      s3Origin - a consumer that will call methods on S3Origin.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aliases

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

      Parameters:
      aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aliases

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

      This is a convenience method that creates an instance of the Aliases.Builder avoiding the need to create one manually via Aliases.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aliases(Aliases).

      Parameters:
      aliases - a consumer that will call methods on Aliases.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comment

      Any comments you want to include about the streaming distribution.

      Parameters:
      comment - Any comments you want to include about the streaming distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logging

      A complex type that controls whether access logs are written for the streaming distribution.

      Parameters:
      logging - A complex type that controls whether access logs are written for the streaming distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logging

      A complex type that controls whether access logs are written for the streaming distribution.

      This is a convenience method that creates an instance of the StreamingLoggingConfig.Builder avoiding the need to create one manually via StreamingLoggingConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logging(StreamingLoggingConfig).

      Parameters:
      logging - a consumer that will call methods on StreamingLoggingConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trustedSigners

      StreamingDistributionConfig.Builder trustedSigners(TrustedSigners trustedSigners)

      A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

      Parameters:
      trustedSigners - A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedSigners

      default StreamingDistributionConfig.Builder trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)

      A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

      This is a convenience method that creates an instance of the TrustedSigners.Builder avoiding the need to create one manually via TrustedSigners.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trustedSigners(TrustedSigners).

      Parameters:
      trustedSigners - a consumer that will call methods on TrustedSigners.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • priceClass

      A complex type that contains information about price class for this streaming distribution.

      Parameters:
      priceClass - A complex type that contains information about price class for this streaming distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • priceClass

      A complex type that contains information about price class for this streaming distribution.

      Parameters:
      priceClass - A complex type that contains information about price class for this streaming distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enabled

      Whether the streaming distribution is enabled to accept user requests for content.

      Parameters:
      enabled - Whether the streaming distribution is enabled to accept user requests for content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.