@Generated(value="software.amazon.awssdk:codegen") public final class DistributionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DistributionSummary.Builder,DistributionSummary>
A summary of the information about a CloudFront distribution.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DistributionSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
Aliases |
aliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
List<AliasICPRecordal> |
aliasICPRecordals()
AWS services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve
content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront.
|
String |
arn()
The ARN (Amazon Resource Name) for the distribution.
|
static DistributionSummary.Builder |
builder() |
CacheBehaviors |
cacheBehaviors()
A complex type that contains zero or more
CacheBehavior elements. |
String |
comment()
The comment originally specified when this distribution was created.
|
CustomErrorResponses |
customErrorResponses()
A complex type that contains zero or more
CustomErrorResponses elements. |
DefaultCacheBehavior |
defaultCacheBehavior()
A complex type that describes the default cache behavior if you don't specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
String |
domainName()
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net. |
Boolean |
enabled()
Whether the distribution is enabled to accept user requests for content.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HttpVersion |
httpVersion()
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
String |
httpVersionAsString()
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
String |
id()
The identifier for the distribution.
|
Boolean |
isIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
Instant |
lastModifiedTime()
The date and time the distribution was last modified.
|
OriginGroups |
originGroups()
A complex type that contains information about origin groups for this distribution.
|
Origins |
origins()
A complex type that contains information about origins for this distribution.
|
PriceClass |
priceClass()
A complex type that contains information about price class for this streaming distribution.
|
String |
priceClassAsString()
A complex type that contains information about price class for this streaming distribution.
|
Restrictions |
restrictions()
A complex type that identifies ways in which you want to restrict distribution of your content.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DistributionSummary.Builder> |
serializableBuilderClass() |
String |
status()
The current status of the distribution.
|
DistributionSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ViewerCertificate |
viewerCertificate()
A complex type that specifies whether you want viewers to use HTTP or HTTPS to request your objects, whether
you're using an alternate domain name with HTTPS, and if so, if you're using AWS Certificate Manager (ACM) or a
third-party certificate authority.
|
String |
webACLId()
The Web ACL Id (if any) associated with the distribution.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String id()
The identifier for the distribution. For example: EDFDVBD632BHDS5.
EDFDVBD632BHDS5.public String arn()
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is
your AWS account ID.
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where
123456789012 is your AWS account ID.public String status()
The current status of the 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 Instant lastModifiedTime()
The date and time the distribution was last modified.
public String domainName()
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.
d111111abcdef8.cloudfront.net.public Aliases aliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
public Origins origins()
A complex type that contains information about origins for this distribution.
public OriginGroups originGroups()
A complex type that contains information about origin groups for this distribution.
public DefaultCacheBehavior defaultCacheBehavior()
A complex type that describes the default cache behavior if you don't specify a CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. You must create exactly one default cache behavior.
CacheBehavior element or if files don't match any of the values of PathPattern
in CacheBehavior elements. You must create exactly one default cache behavior.public CacheBehaviors cacheBehaviors()
A complex type that contains zero or more CacheBehavior elements.
CacheBehavior elements.public CustomErrorResponses customErrorResponses()
A complex type that contains zero or more CustomErrorResponses elements.
CustomErrorResponses elements.public String comment()
The comment originally specified when this distribution was created.
public PriceClass priceClass()
A complex type that contains information about price class for this streaming distribution.
If the service returns an enum value that is not available in the current SDK version, priceClass will
return PriceClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
priceClassAsString().
PriceClasspublic String priceClassAsString()
A complex type that contains information about price class for this streaming distribution.
If the service returns an enum value that is not available in the current SDK version, priceClass will
return PriceClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
priceClassAsString().
PriceClasspublic Boolean enabled()
Whether the distribution is enabled to accept user requests for content.
public ViewerCertificate viewerCertificate()
A complex type that specifies whether you want viewers to use HTTP or HTTPS to request your objects, whether you're using an alternate domain name with HTTPS, and if so, if you're using AWS Certificate Manager (ACM) or a third-party certificate authority.
public Restrictions restrictions()
A complex type that identifies ways in which you want to restrict distribution of your content.
public String webACLId()
The Web ACL Id (if any) associated with the distribution.
public HttpVersion httpVersion()
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value
for new web distributions is http2. Viewers that don't support HTTP/2 will
automatically use an earlier version.
If the service returns an enum value that is not available in the current SDK version, httpVersion will
return HttpVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
httpVersionAsString().
http2. Viewers that don't support HTTP/2
will automatically use an earlier version.HttpVersionpublic String httpVersionAsString()
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value
for new web distributions is http2. Viewers that don't support HTTP/2 will
automatically use an earlier version.
If the service returns an enum value that is not available in the current SDK version, httpVersion will
return HttpVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
httpVersionAsString().
http2. Viewers that don't support HTTP/2
will automatically use an earlier version.HttpVersionpublic Boolean isIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
public List<AliasICPRecordal> aliasICPRecordals()
AWS services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with AWS services in China.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with AWS services in China.
public DistributionSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DistributionSummary.Builder,DistributionSummary>public static DistributionSummary.Builder builder()
public static Class<? extends DistributionSummary.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.