@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamingDistribution extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
StreamingDistribution() |
Modifier and Type | Method and Description |
---|---|
StreamingDistribution |
clone() |
boolean |
equals(Object obj) |
ActiveTrustedSigners |
getActiveTrustedSigners()
A complex type that lists the Amazon Web Services accounts, if any, that you included in the
TrustedSigners complex type for this distribution. |
String |
getARN()
The ARN (Amazon Resource Name) for the distribution.
|
String |
getDomainName()
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net . |
String |
getId()
The identifier for the RTMP distribution.
|
Date |
getLastModifiedTime()
The date and time that the distribution was last modified.
|
String |
getStatus()
The current status of the RTMP distribution.
|
StreamingDistributionConfig |
getStreamingDistributionConfig()
The current configuration information for the RTMP distribution.
|
int |
hashCode() |
void |
setActiveTrustedSigners(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. |
void |
setARN(String aRN)
The ARN (Amazon Resource Name) for the distribution.
|
void |
setDomainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net . |
void |
setId(String id)
The identifier for the RTMP distribution.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the distribution was last modified.
|
void |
setStatus(String status)
The current status of the RTMP distribution.
|
void |
setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
|
String |
toString()
Returns a string representation of this object.
|
StreamingDistribution |
withActiveTrustedSigners(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. |
StreamingDistribution |
withARN(String aRN)
The ARN (Amazon Resource Name) for the distribution.
|
StreamingDistribution |
withDomainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net . |
StreamingDistribution |
withId(String id)
The identifier for the RTMP distribution.
|
StreamingDistribution |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the distribution was last modified.
|
StreamingDistribution |
withStatus(String status)
The current status of the RTMP distribution.
|
StreamingDistribution |
withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
|
public void setId(String id)
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
id
- The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.public String getId()
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
EGTXBD79EXAMPLE
.public StreamingDistribution withId(String id)
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
id
- The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.public void setARN(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.
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.public String getARN()
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.
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your Amazon Web Services account ID.public StreamingDistribution withARN(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.
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.public void setStatus(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.
status
- The current status of the RTMP distribution. When the status is Deployed
, the distribution's
information is propagated to all CloudFront edge locations.public String getStatus()
The current status of the RTMP distribution. When the status is Deployed
, the distribution's
information is propagated to all CloudFront edge locations.
Deployed
, the distribution's
information is propagated to all CloudFront edge locations.public StreamingDistribution withStatus(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.
status
- The current status of the RTMP distribution. When the status is Deployed
, the distribution's
information is propagated to all CloudFront edge locations.public void setLastModifiedTime(Date lastModifiedTime)
The date and time that the distribution was last modified.
lastModifiedTime
- The date and time that the distribution was last modified.public Date getLastModifiedTime()
The date and time that the distribution was last modified.
public StreamingDistribution withLastModifiedTime(Date lastModifiedTime)
The date and time that the distribution was last modified.
lastModifiedTime
- The date and time that the distribution was last modified.public void setDomainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.
domainName
- The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.public String getDomainName()
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.
s5c39gqb8ow64r.cloudfront.net
.public StreamingDistribution withDomainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.
domainName
- The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.public void setActiveTrustedSigners(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.
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.
public ActiveTrustedSigners getActiveTrustedSigners()
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.
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.
public StreamingDistribution withActiveTrustedSigners(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.
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.
public void setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
streamingDistributionConfig
- The current configuration information for the RTMP distribution.public StreamingDistributionConfig getStreamingDistributionConfig()
The current configuration information for the RTMP distribution.
public StreamingDistribution withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
streamingDistributionConfig
- The current configuration information for the RTMP distribution.public String toString()
toString
in class Object
Object.toString()
public StreamingDistribution clone()