Interface StreamingDistribution.Builder

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

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

    • id

      The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

      Parameters:
      id - The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

      Parameters:
      arn - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

      Parameters:
      status - The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      StreamingDistribution.Builder lastModifiedTime(Instant lastModifiedTime)

      The date and time that the distribution was last modified.

      Parameters:
      lastModifiedTime - The date and time that the distribution was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainName

      StreamingDistribution.Builder domainName(String domainName)

      The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

      Parameters:
      domainName - The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activeTrustedSigners

      StreamingDistribution.Builder activeTrustedSigners(ActiveTrustedSigners activeTrustedSigners)

      A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

      The Signer complex type lists the Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

      For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

      Parameters:
      activeTrustedSigners - A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

      The Signer complex type lists the Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

      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.
    • activeTrustedSigners

      default StreamingDistribution.Builder activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)

      A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

      The Signer complex type lists the Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

      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 ActiveTrustedSigners.Builder avoiding the need to create one manually via ActiveTrustedSigners.builder().

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

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

      StreamingDistribution.Builder streamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)

      The current configuration information for the RTMP distribution.

      Parameters:
      streamingDistributionConfig - The current configuration information for the RTMP distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamingDistributionConfig

      default StreamingDistribution.Builder streamingDistributionConfig(Consumer<StreamingDistributionConfig.Builder> streamingDistributionConfig)

      The current configuration information for the RTMP distribution.

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

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

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