Class DistributionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DistributionSummary.Builder,DistributionSummary>
A summary of the information about a CloudFront distribution.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Aliasesaliases()A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.final List<AliasICPRecordal> Amazon Web Services 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.final StringID of the Anycast static IP list that is associated with the distribution.final Stringarn()The ARN (Amazon Resource Name) for the distribution.static DistributionSummary.Builderbuilder()final CacheBehaviorsA complex type that contains zero or moreCacheBehaviorelements.final Stringcomment()The comment originally specified when this distribution was created.final ConnectionModeThis field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).final StringThis field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).final CustomErrorResponsesA complex type that contains zero or moreCustomErrorResponseselements.final DefaultCacheBehaviorA complex type that describes the default cache behavior if you don't specify aCacheBehaviorelement or if files don't match any of the values ofPathPatterninCacheBehaviorelements.final StringThe domain name that corresponds to the distribution, for example,d111111abcdef8.cloudfront.net.final Booleanenabled()Whether the distribution is enabled to accept user requests for content.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringeTag()The current version of the distribution.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the AliasICPRecordals property.final inthashCode()final HttpVersionSpecify the maximum HTTP version that you want viewers to use to communicate with CloudFront.final StringSpecify the maximum HTTP version that you want viewers to use to communicate with CloudFront.final Stringid()The identifier for the distribution.final BooleanWhether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.final InstantThe date and time the distribution was last modified.final OriginGroupsA complex type that contains information about origin groups for this distribution.final Originsorigins()A complex type that contains information about origins for this distribution.final PriceClassfinal Stringfinal RestrictionsA complex type that identifies ways in which you want to restrict distribution of your content.static Class<? extends DistributionSummary.Builder> final Booleanstaging()A Boolean that indicates whether this is a staging distribution.final Stringstatus()The current status of the distribution.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final ViewerCertificateA complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.final StringwebACLId()The Web ACL Id (if any) associated with the distribution.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The identifier for the distribution. For example:
EDFDVBD632BHDS5.- Returns:
- The identifier for the distribution. For example:
EDFDVBD632BHDS5.
-
arn
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where123456789012is your Amazon Web Services account ID.- Returns:
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where123456789012is your Amazon Web Services account ID.
-
eTag
The current version of the distribution.
- Returns:
- The current version of the distribution.
-
status
The current status of the distribution. When the status is
Deployed, the distribution's information is propagated to all CloudFront edge locations.- Returns:
- The current status of the distribution. When the status is
Deployed, the distribution's information is propagated to all CloudFront edge locations.
-
lastModifiedTime
The date and time the distribution was last modified.
- Returns:
- The date and time the distribution was last modified.
-
domainName
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net.- Returns:
- The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net.
-
aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
- Returns:
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
-
origins
A complex type that contains information about origins for this distribution.
- Returns:
- A complex type that contains information about origins for this distribution.
-
originGroups
A complex type that contains information about origin groups for this distribution.
- Returns:
- A complex type that contains information about origin groups for this distribution.
-
defaultCacheBehavior
A complex type that describes the default cache behavior if you don't specify a
CacheBehaviorelement or if files don't match any of the values ofPathPatterninCacheBehaviorelements. You must create exactly one default cache behavior.- Returns:
- A complex type that describes the default cache behavior if you don't specify a
CacheBehaviorelement or if files don't match any of the values ofPathPatterninCacheBehaviorelements. You must create exactly one default cache behavior.
-
cacheBehaviors
A complex type that contains zero or more
CacheBehaviorelements.- Returns:
- A complex type that contains zero or more
CacheBehaviorelements.
-
customErrorResponses
A complex type that contains zero or more
CustomErrorResponseselements.- Returns:
- A complex type that contains zero or more
CustomErrorResponseselements.
-
comment
The comment originally specified when this distribution was created.
- Returns:
- The comment originally specified when this distribution was created.
-
priceClass
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see Unsupported features for SaaS Manager for Amazon CloudFront in the Amazon CloudFront Developer Guide.
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,
priceClasswill returnPriceClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriceClassAsString().- Returns:
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see Unsupported features for SaaS Manager for Amazon CloudFront in the Amazon CloudFront Developer Guide.
A complex type that contains information about price class for this streaming distribution.
- See Also:
-
priceClassAsString
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see Unsupported features for SaaS Manager for Amazon CloudFront in the Amazon CloudFront Developer Guide.
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,
priceClasswill returnPriceClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriceClassAsString().- Returns:
This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see Unsupported features for SaaS Manager for Amazon CloudFront in the Amazon CloudFront Developer Guide.
A complex type that contains information about price class for this streaming distribution.
- See Also:
-
enabled
Whether the distribution is enabled to accept user requests for content.
- Returns:
- Whether the distribution is enabled to accept user requests for content.
-
viewerCertificate
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
- Returns:
- A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
-
restrictions
A complex type that identifies ways in which you want to restrict distribution of your content.
- Returns:
- A complex type that identifies ways in which you want to restrict distribution of your content.
-
webACLId
The Web ACL Id (if any) associated with the distribution.
- Returns:
- The Web ACL Id (if any) associated with the distribution.
-
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 supportHTTP/2will automatically use an earlier version.If the service returns an enum value that is not available in the current SDK version,
httpVersionwill returnHttpVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhttpVersionAsString().- Returns:
- 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 supportHTTP/2will automatically use an earlier version. - See Also:
-
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 supportHTTP/2will automatically use an earlier version.If the service returns an enum value that is not available in the current SDK version,
httpVersionwill returnHttpVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhttpVersionAsString().- Returns:
- 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 supportHTTP/2will automatically use an earlier version. - See Also:
-
isIPV6Enabled
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
- Returns:
- Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
-
hasAliasICPRecordals
public final boolean hasAliasICPRecordals()For responses, this returns true if the service returned a value for the AliasICPRecordals property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
aliasICPRecordals
Amazon Web Services 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 Amazon Web Services services in China.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAliasICPRecordals()method.- Returns:
- Amazon Web Services 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 Amazon Web Services services in China.
-
staging
A Boolean that indicates whether this is a staging distribution. When this value is
true, this is a staging distribution. When this value isfalse, this is not a staging distribution.- Returns:
- A Boolean that indicates whether this is a staging distribution. When this value is
true, this is a staging distribution. When this value isfalse, this is not a staging distribution.
-
connectionMode
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
If the service returns an enum value that is not available in the current SDK version,
connectionModewill returnConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionModeAsString().- Returns:
- This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
- See Also:
-
connectionModeAsString
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
If the service returns an enum value that is not available in the current SDK version,
connectionModewill returnConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionModeAsString().- Returns:
- This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
- See Also:
-
anycastIpListId
ID of the Anycast static IP list that is associated with the distribution.
- Returns:
- ID of the Anycast static IP list that is associated with the distribution.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DistributionSummary.Builder,DistributionSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-