public class StreamingDistribution
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private ActiveTrustedSigners |
activeTrustedSigners
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
private java.lang.String |
domainName
The domain name corresponding to the streaming distribution.
|
private java.lang.String |
id
The identifier for the streaming distribution.
|
private java.util.Date |
lastModifiedTime
The date and time the distribution was last modified.
|
private java.lang.String |
status
The current status of the streaming distribution.
|
private StreamingDistributionConfig |
streamingDistributionConfig
The current configuration information for the streaming distribution.
|
Constructor and Description |
---|
StreamingDistribution() |
Modifier and Type | Method and Description |
---|---|
StreamingDistribution |
clone() |
boolean |
equals(java.lang.Object obj) |
ActiveTrustedSigners |
getActiveTrustedSigners()
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
java.lang.String |
getDomainName()
The domain name corresponding to the streaming distribution.
|
java.lang.String |
getId()
The identifier for the streaming distribution.
|
java.util.Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
java.lang.String |
getStatus()
The current status of the streaming distribution.
|
StreamingDistributionConfig |
getStreamingDistributionConfig()
The current configuration information for the streaming distribution.
|
int |
hashCode() |
void |
setActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
void |
setDomainName(java.lang.String domainName)
The domain name corresponding to the streaming distribution.
|
void |
setId(java.lang.String id)
The identifier for the streaming distribution.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time the distribution was last modified.
|
void |
setStatus(java.lang.String status)
The current status of the streaming distribution.
|
void |
setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the streaming distribution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamingDistribution |
withActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
StreamingDistribution |
withDomainName(java.lang.String domainName)
The domain name corresponding to the streaming distribution.
|
StreamingDistribution |
withId(java.lang.String id)
The identifier for the streaming distribution.
|
StreamingDistribution |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time the distribution was last modified.
|
StreamingDistribution |
withStatus(java.lang.String status)
The current status of the streaming distribution.
|
StreamingDistribution |
withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the streaming distribution.
|
private java.lang.String id
private java.lang.String status
private java.util.Date lastModifiedTime
private java.lang.String domainName
private ActiveTrustedSigners activeTrustedSigners
private StreamingDistributionConfig streamingDistributionConfig
public void setId(java.lang.String id)
id
- The identifier for the streaming distribution. For example:
EGTXBD79H29TRA8.public java.lang.String getId()
public StreamingDistribution withId(java.lang.String id)
id
- The identifier for the streaming distribution. For example:
EGTXBD79H29TRA8.public void setStatus(java.lang.String status)
status
- The current status of the streaming distribution. When the status
is Deployed, the distribution's information is fully propagated
throughout the Amazon CloudFront system.public java.lang.String getStatus()
public StreamingDistribution withStatus(java.lang.String status)
status
- The current status of the streaming distribution. When the status
is Deployed, the distribution's information is fully propagated
throughout the Amazon CloudFront system.public void setLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public java.util.Date getLastModifiedTime()
public StreamingDistribution withLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public void setDomainName(java.lang.String domainName)
domainName
- The domain name corresponding to the streaming distribution. For
example: s5c39gqb8ow64r.cloudfront.net.public java.lang.String getDomainName()
public StreamingDistribution withDomainName(java.lang.String domainName)
domainName
- The domain name corresponding to the streaming distribution. For
example: s5c39gqb8ow64r.cloudfront.net.public void setActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
activeTrustedSigners
- CloudFront automatically adds this element to the response only if
you've set up the distribution to serve private content with
signed URLs. The element lists the key pair IDs that CloudFront is
aware of for each trusted signer. The Signer child element lists
the AWS account number of the trusted signer (or an empty Self
element if the signer is you). The Signer element also includes
the IDs of any active key pairs associated with the trusted
signer's AWS account. If no KeyPairId element appears for a
Signer, that signer can't create working signed URLs.public ActiveTrustedSigners getActiveTrustedSigners()
public StreamingDistribution withActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
activeTrustedSigners
- CloudFront automatically adds this element to the response only if
you've set up the distribution to serve private content with
signed URLs. The element lists the key pair IDs that CloudFront is
aware of for each trusted signer. The Signer child element lists
the AWS account number of the trusted signer (or an empty Self
element if the signer is you). The Signer element also includes
the IDs of any active key pairs associated with the trusted
signer's AWS account. If no KeyPairId element appears for a
Signer, that signer can't create working signed URLs.public void setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
streamingDistributionConfig
- The current configuration information for the streaming
distribution.public StreamingDistributionConfig getStreamingDistributionConfig()
public StreamingDistribution withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
streamingDistributionConfig
- The current configuration information for the streaming
distribution.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StreamingDistribution clone()
clone
in class java.lang.Object