Class StreamingDistribution
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.StreamingDistribution
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StreamingDistribution extends Object implements Serializable, Cloneable
A streaming distribution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamingDistribution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamingDistribution
clone()
boolean
equals(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.String
getDomainName()
The domain name corresponding to the streaming distribution.String
getId()
The identifier for the streaming distribution.Date
getLastModifiedTime()
The date and time the distribution was last modified.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(String domainName)
The domain name corresponding to the streaming distribution.void
setId(String id)
The identifier for the streaming distribution.void
setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.void
setStatus(String status)
The current status of the streaming distribution.void
setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the streaming distribution.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(String domainName)
The domain name corresponding to the streaming distribution.StreamingDistribution
withId(String id)
The identifier for the streaming distribution.StreamingDistribution
withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.StreamingDistribution
withStatus(String status)
The current status of the streaming distribution.StreamingDistribution
withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the streaming distribution.
-
-
-
Method Detail
-
setId
public void setId(String id)
The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.- Parameters:
id
- The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.
-
getId
public String getId()
The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.- Returns:
- The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.
-
withId
public StreamingDistribution withId(String id)
The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.- Parameters:
id
- The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String 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.- Parameters:
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.
-
getStatus
public String getStatus()
The current status of the streaming distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.- Returns:
- The current status of the streaming distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.
-
withStatus
public StreamingDistribution withStatus(String 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModifiedTime
public void setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.- Parameters:
lastModifiedTime
- The date and time the distribution was last modified.
-
getLastModifiedTime
public Date getLastModifiedTime()
The date and time the distribution was last modified.- Returns:
- The date and time the distribution was last modified.
-
withLastModifiedTime
public StreamingDistribution withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.- Parameters:
lastModifiedTime
- The date and time the distribution was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomainName
public void setDomainName(String domainName)
The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.- Parameters:
domainName
- The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.
-
getDomainName
public String getDomainName()
The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.- Returns:
- The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.
-
withDomainName
public StreamingDistribution withDomainName(String domainName)
The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.- Parameters:
domainName
- The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setActiveTrustedSigners
public 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. 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.- Parameters:
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.
-
getActiveTrustedSigners
public 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. 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.- Returns:
- 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.
-
withActiveTrustedSigners
public 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. 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreamingDistributionConfig
public void setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the streaming distribution.- Parameters:
streamingDistributionConfig
- The current configuration information for the streaming distribution.
-
getStreamingDistributionConfig
public StreamingDistributionConfig getStreamingDistributionConfig()
The current configuration information for the streaming distribution.- Returns:
- The current configuration information for the streaming distribution.
-
withStreamingDistributionConfig
public StreamingDistribution withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the streaming distribution.- Parameters:
streamingDistributionConfig
- The current configuration information for the streaming distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StreamingDistribution clone()
-
-