Interface StreamingDistribution.Builder

    • Method Detail

      • id

        StreamingDistribution.Builder id​(String 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

        StreamingDistribution.Builder arn​(String 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

        StreamingDistribution.Builder status​(String 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.
      • 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.