Class StreamingDistribution
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StreamingDistribution.Builder,
StreamingDistribution>
A streaming distribution tells CloudFront where you want RTMP content to be delivered from, and the details about how to track and manage content delivery.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ActiveTrustedSigners
A complex type that lists the Amazon Web Services accounts, if any, that you included in theTrustedSigners
complex type for this distribution.final String
arn()
The ARN (Amazon Resource Name) for the distribution.builder()
final String
The domain name that corresponds to the streaming distribution, for example,s5c39gqb8ow64r.cloudfront.net
.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
id()
The identifier for the RTMP distribution.final Instant
The date and time that the distribution was last modified.static Class
<? extends StreamingDistribution.Builder> final String
status()
The current status of the RTMP distribution.The current configuration information for the RTMP distribution.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The identifier for the RTMP distribution. For example:
EGTXBD79EXAMPLE
.- Returns:
- The identifier for the RTMP distribution. For example:
EGTXBD79EXAMPLE
.
-
arn
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
is your Amazon Web Services account ID.- Returns:
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
is your Amazon Web Services account ID.
-
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
The date and time that the distribution was last modified.
- Returns:
- The date and time that the distribution was last modified.
-
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
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 orself
if the signer is the Amazon Web Services account that created the distribution. TheSigner
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairId
element appears for aSigner
, 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 orself
if the signer is the Amazon Web Services account that created the distribution. TheSigner
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairId
element appears for aSigner
, that signer can't create signed URLs.For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
-
streamingDistributionConfig
The current configuration information for the RTMP distribution.
- Returns:
- The current configuration information for the RTMP distribution.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StreamingDistribution.Builder,
StreamingDistribution> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-