@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) |
boolean |
hasAliasICPRecordals()
Returns true if the AliasICPRecordals property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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 determines the distribution’s SSL/TLS configuration for communicating with viewers.
|
String |
webACLId()
The Web ACL Id (if any) associated with the distribution.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier for the distribution. For example: EDFDVBD632BHDS5.
EDFDVBD632BHDS5.public final 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 final 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 final Instant lastModifiedTime()
The date and time the distribution was last modified.
public final String domainName()
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.
d111111abcdef8.cloudfront.net.public final Aliases aliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
public final Origins origins()
A complex type that contains information about origins for this distribution.
public final OriginGroups originGroups()
A complex type that contains information about origin groups for this distribution.
public final 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 final CacheBehaviors cacheBehaviors()
A complex type that contains zero or more CacheBehavior elements.
CacheBehavior elements.public final CustomErrorResponses customErrorResponses()
A complex type that contains zero or more CustomErrorResponses elements.
CustomErrorResponses elements.public final String comment()
The comment originally specified when this distribution was created.
public final 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 final 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 final Boolean enabled()
Whether the distribution is enabled to accept user requests for content.
public final ViewerCertificate viewerCertificate()
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
public final Restrictions restrictions()
A complex type that identifies ways in which you want to restrict distribution of your content.
public final String webACLId()
The Web ACL Id (if any) associated with the distribution.
public final 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 final 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 final Boolean isIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
public final boolean hasAliasICPRecordals()
public final 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.
You can use hasAliasICPRecordals() to see if a value was sent in this field.
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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.