Class StreamingDistribution

    • Method Detail

      • id

        public final String id()

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

        Returns:
        The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.
      • arn

        public final 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.

        Returns:
        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.
      • status

        public final 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.

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

        public final Instant lastModifiedTime()

        The date and time that the distribution was last modified.

        Returns:
        The date and time that the distribution was last modified.
      • domainName

        public final String domainName()

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

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

        public final 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.

        Returns:
        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.

      • streamingDistributionConfig

        public final StreamingDistributionConfig streamingDistributionConfig()

        The current configuration information for the RTMP distribution.

        Returns:
        The current configuration information for the RTMP distribution.
      • 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)