public class StreamingDistributionSummary extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
StreamingDistributionSummary() |
| Modifier and Type | Method and Description |
|---|---|
StreamingDistributionSummary |
clone() |
boolean |
equals(Object obj) |
Aliases |
getAliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
String |
getARN()
The ARN (Amazon Resource Name) for the streaming distribution.
|
String |
getComment()
The comment originally specified when this distribution was created.
|
String |
getDomainName()
The domain name corresponding to the distribution.
|
Boolean |
getEnabled()
Whether the distribution is enabled to accept end user requests for content.
|
String |
getId()
The identifier for the distribution.
|
Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
String |
getPriceClass() |
S3Origin |
getS3Origin()
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your
media files for distribution.
|
String |
getStatus()
Indicates the current status of the distribution.
|
TrustedSigners |
getTrustedSigners()
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private
content.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether the distribution is enabled to accept end user requests for content.
|
void |
setAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
void |
setARN(String aRN)
The ARN (Amazon Resource Name) for the streaming distribution.
|
void |
setComment(String comment)
The comment originally specified when this distribution was created.
|
void |
setDomainName(String domainName)
The domain name corresponding to the distribution.
|
void |
setEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.
|
void |
setId(String id)
The identifier for the distribution.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
void |
setPriceClass(PriceClass priceClass) |
void |
setPriceClass(String priceClass) |
void |
setS3Origin(S3Origin s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your
media files for distribution.
|
void |
setStatus(String status)
Indicates the current status of the distribution.
|
void |
setTrustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private
content.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StreamingDistributionSummary |
withAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
StreamingDistributionSummary |
withARN(String aRN)
The ARN (Amazon Resource Name) for the streaming distribution.
|
StreamingDistributionSummary |
withComment(String comment)
The comment originally specified when this distribution was created.
|
StreamingDistributionSummary |
withDomainName(String domainName)
The domain name corresponding to the distribution.
|
StreamingDistributionSummary |
withEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.
|
StreamingDistributionSummary |
withId(String id)
The identifier for the distribution.
|
StreamingDistributionSummary |
withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
StreamingDistributionSummary |
withPriceClass(PriceClass priceClass) |
StreamingDistributionSummary |
withPriceClass(String priceClass) |
StreamingDistributionSummary |
withS3Origin(S3Origin s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your
media files for distribution.
|
StreamingDistributionSummary |
withStatus(String status)
Indicates the current status of the distribution.
|
StreamingDistributionSummary |
withTrustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private
content.
|
public void setId(String id)
id - The identifier for the distribution. For example: EDFDVBD632BHDS5.public String getId()
public StreamingDistributionSummary withId(String id)
id - The identifier for the distribution. For example: EDFDVBD632BHDS5.public void setARN(String aRN)
aRN - The ARN (Amazon Resource Name) for the streaming distribution. For example:
arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS
account Id.public String getARN()
public StreamingDistributionSummary withARN(String aRN)
aRN - The ARN (Amazon Resource Name) for the streaming distribution. For example:
arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS
account Id.public void setStatus(String status)
status - Indicates the current status of the distribution. When the status is Deployed, the distribution's
information is fully propagated throughout the Amazon CloudFront system.public String getStatus()
public StreamingDistributionSummary withStatus(String status)
status - Indicates the current status of the distribution. When the status is Deployed, the distribution's
information is fully propagated throughout the Amazon CloudFront system.public void setLastModifiedTime(Date lastModifiedTime)
lastModifiedTime - The date and time the distribution was last modified.public Date getLastModifiedTime()
public StreamingDistributionSummary withLastModifiedTime(Date lastModifiedTime)
lastModifiedTime - The date and time the distribution was last modified.public void setDomainName(String domainName)
domainName - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.public String getDomainName()
public StreamingDistributionSummary withDomainName(String domainName)
domainName - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.public void setS3Origin(S3Origin s3Origin)
s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get
your media files for distribution.public S3Origin getS3Origin()
public StreamingDistributionSummary withS3Origin(S3Origin s3Origin)
s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get
your media files for distribution.public void setAliases(Aliases aliases)
aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.public Aliases getAliases()
public StreamingDistributionSummary withAliases(Aliases aliases)
aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.public void setTrustedSigners(TrustedSigners trustedSigners)
trustedSigners - A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for
private content. If you want to require signed URLs in requests for objects in the target origin that
match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values
for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the
Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that
match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one
or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable,
and specify all of the trusted signers that you want to include in the updated distribution.public TrustedSigners getTrustedSigners()
public StreamingDistributionSummary withTrustedSigners(TrustedSigners trustedSigners)
trustedSigners - A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for
private content. If you want to require signed URLs in requests for objects in the target origin that
match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values
for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the
Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that
match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one
or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable,
and specify all of the trusted signers that you want to include in the updated distribution.public void setComment(String comment)
comment - The comment originally specified when this distribution was created.public String getComment()
public StreamingDistributionSummary withComment(String comment)
comment - The comment originally specified when this distribution was created.public void setPriceClass(String priceClass)
priceClass - PriceClasspublic String getPriceClass()
PriceClasspublic StreamingDistributionSummary withPriceClass(String priceClass)
priceClass - PriceClasspublic void setPriceClass(PriceClass priceClass)
priceClass - PriceClasspublic StreamingDistributionSummary withPriceClass(PriceClass priceClass)
priceClass - PriceClasspublic void setEnabled(Boolean enabled)
enabled - Whether the distribution is enabled to accept end user requests for content.public Boolean getEnabled()
public StreamingDistributionSummary withEnabled(Boolean enabled)
enabled - Whether the distribution is enabled to accept end user requests for content.public Boolean isEnabled()
public String toString()
toString in class ObjectObject.toString()public StreamingDistributionSummary clone()
Copyright © 2016. All rights reserved.