Class StreamingDistribution
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.StreamingDistribution
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StreamingDistribution.Builder,StreamingDistribution>
@Generated("software.amazon.awssdk:codegen") public final class StreamingDistribution extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StreamingDistribution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveTrustedSigners
activeTrustedSigners()
A complex type that lists the Amazon Web Services accounts, if any, that you included in theTrustedSigners
complex type for this distribution.String
arn()
The ARN (Amazon Resource Name) for the distribution.static StreamingDistribution.Builder
builder()
String
domainName()
The domain name that corresponds to the streaming distribution, for example,s5c39gqb8ow64r.cloudfront.net
.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The identifier for the RTMP distribution.Instant
lastModifiedTime()
The date and time that the distribution was last modified.List<SdkField<?>>
sdkFields()
static Class<? extends StreamingDistribution.Builder>
serializableBuilderClass()
String
status()
The current status of the RTMP distribution.StreamingDistributionConfig
streamingDistributionConfig()
The current configuration information for the RTMP distribution.StreamingDistribution.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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
, 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
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 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
public final StreamingDistributionConfig streamingDistributionConfig()
The current configuration information for the RTMP distribution.
- Returns:
- The current configuration information for the RTMP distribution.
-
toBuilder
public StreamingDistribution.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StreamingDistribution.Builder,StreamingDistribution>
-
builder
public static StreamingDistribution.Builder builder()
-
serializableBuilderClass
public static Class<? extends StreamingDistribution.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
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.
-
-