public class StreamingDistributionSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private Aliases |
aliases
A complex type that contains information about CNAMEs (alternate domain
names), if any, for this streaming distribution.
|
private java.lang.String |
comment
The comment originally specified when this distribution was created.
|
private java.lang.String |
domainName
The domain name corresponding to the distribution.
|
private java.lang.Boolean |
enabled
Whether the distribution is enabled to accept end user requests for
content.
|
private java.lang.String |
id
The identifier for the distribution.
|
private java.util.Date |
lastModifiedTime
The date and time the distribution was last modified.
|
private java.lang.String |
priceClass |
private 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.
|
private java.lang.String |
status
Indicates the current status of the distribution.
|
private TrustedSigners |
trustedSigners
A complex type that specifies the AWS accounts, if any, that you want to
allow to create signed URLs for private content.
|
Constructor and Description |
---|
StreamingDistributionSummary() |
Modifier and Type | Method and Description |
---|---|
StreamingDistributionSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
Aliases |
getAliases()
A complex type that contains information about CNAMEs (alternate domain
names), if any, for this streaming distribution.
|
java.lang.String |
getComment()
The comment originally specified when this distribution was created.
|
java.lang.String |
getDomainName()
The domain name corresponding to the distribution.
|
java.lang.Boolean |
getEnabled()
Whether the distribution is enabled to accept end user requests for
content.
|
java.lang.String |
getId()
The identifier for the distribution.
|
java.util.Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
java.lang.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.
|
java.lang.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() |
java.lang.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 |
setComment(java.lang.String comment)
The comment originally specified when this distribution was created.
|
void |
setDomainName(java.lang.String domainName)
The domain name corresponding to the distribution.
|
void |
setEnabled(java.lang.Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
void |
setId(java.lang.String id)
The identifier for the distribution.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time the distribution was last modified.
|
void |
setPriceClass(PriceClass priceClass) |
void |
setPriceClass(java.lang.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(java.lang.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.
|
java.lang.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 |
withComment(java.lang.String comment)
The comment originally specified when this distribution was created.
|
StreamingDistributionSummary |
withDomainName(java.lang.String domainName)
The domain name corresponding to the distribution.
|
StreamingDistributionSummary |
withEnabled(java.lang.Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
StreamingDistributionSummary |
withId(java.lang.String id)
The identifier for the distribution.
|
StreamingDistributionSummary |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time the distribution was last modified.
|
StreamingDistributionSummary |
withPriceClass(PriceClass priceClass) |
StreamingDistributionSummary |
withPriceClass(java.lang.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(java.lang.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.
|
private java.lang.String id
private java.lang.String status
private java.util.Date lastModifiedTime
private java.lang.String domainName
private S3Origin s3Origin
private Aliases aliases
private TrustedSigners trustedSigners
private java.lang.String comment
private java.lang.String priceClass
private java.lang.Boolean enabled
public void setId(java.lang.String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public java.lang.String getId()
public StreamingDistributionSummary withId(java.lang.String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public void setStatus(java.lang.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 java.lang.String getStatus()
public StreamingDistributionSummary withStatus(java.lang.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(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public java.util.Date getLastModifiedTime()
public StreamingDistributionSummary 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 distribution. For example:
d604721fxaaqy9.cloudfront.net.public java.lang.String getDomainName()
public StreamingDistributionSummary withDomainName(java.lang.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(java.lang.String comment)
comment
- The comment originally specified when this distribution was
created.public java.lang.String getComment()
public StreamingDistributionSummary withComment(java.lang.String comment)
comment
- The comment originally specified when this distribution was
created.public void setPriceClass(java.lang.String priceClass)
priceClass
- PriceClass
public java.lang.String getPriceClass()
PriceClass
public StreamingDistributionSummary withPriceClass(java.lang.String priceClass)
priceClass
- PriceClass
public void setPriceClass(PriceClass priceClass)
priceClass
- PriceClass
public StreamingDistributionSummary withPriceClass(PriceClass priceClass)
priceClass
- PriceClass
public void setEnabled(java.lang.Boolean enabled)
enabled
- Whether the distribution is enabled to accept end user requests
for content.public java.lang.Boolean getEnabled()
public StreamingDistributionSummary withEnabled(java.lang.Boolean enabled)
enabled
- Whether the distribution is enabled to accept end user requests
for content.public java.lang.Boolean isEnabled()
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 StreamingDistributionSummary clone()
clone
in class java.lang.Object