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 interfaceStreamingDistribution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveTrustedSignersactiveTrustedSigners()A complex type that lists the Amazon Web Services accounts, if any, that you included in theTrustedSignerscomplex type for this distribution.Stringarn()The ARN (Amazon Resource Name) for the distribution.static StreamingDistribution.Builderbuilder()StringdomainName()The domain name that corresponds to the streaming distribution, for example,s5c39gqb8ow64r.cloudfront.net.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier for the RTMP distribution.InstantlastModifiedTime()The date and time that the distribution was last modified.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StreamingDistribution.Builder>serializableBuilderClass()Stringstatus()The current status of the RTMP distribution.StreamingDistributionConfigstreamingDistributionConfig()The current configuration information for the RTMP distribution.StreamingDistribution.BuildertoBuilder()StringtoString()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, where123456789012is your Amazon Web Services account ID.- Returns:
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where123456789012is 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
TrustedSignerscomplex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.The
Signercomplex type lists the Amazon Web Services account number of the trusted signer orselfif the signer is the Amazon Web Services account that created the distribution. TheSignerelement also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairIdelement 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
TrustedSignerscomplex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.The
Signercomplex type lists the Amazon Web Services account number of the trusted signer orselfif the signer is the Amazon Web Services account that created the distribution. TheSignerelement also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairIdelement 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-