| Package | Description |
|---|---|
| software.amazon.awssdk.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
CacheSettings.Builder |
CacheSettings.Builder.allowedHTTPMethods(String allowedHTTPMethods)
The HTTP methods that are processed and forwarded to the distribution's origin.
|
static CacheSettings.Builder |
CacheSettings.builder() |
CacheSettings.Builder |
CacheSettings.Builder.cachedHTTPMethods(String cachedHTTPMethods)
The HTTP method responses that are cached by your distribution.
|
CacheSettings.Builder |
CacheSettings.Builder.defaultTTL(Long defaultTTL)
The default amount of time that objects stay in the distribution's cache before the distribution forwards
another request to the origin to determine whether the content has been updated.
|
default CacheSettings.Builder |
CacheSettings.Builder.forwardedCookies(Consumer<CookieObject.Builder> forwardedCookies)
An object that describes the cookies that are forwarded to the origin.
|
CacheSettings.Builder |
CacheSettings.Builder.forwardedCookies(CookieObject forwardedCookies)
An object that describes the cookies that are forwarded to the origin.
|
default CacheSettings.Builder |
CacheSettings.Builder.forwardedHeaders(Consumer<HeaderObject.Builder> forwardedHeaders)
An object that describes the headers that are forwarded to the origin.
|
CacheSettings.Builder |
CacheSettings.Builder.forwardedHeaders(HeaderObject forwardedHeaders)
An object that describes the headers that are forwarded to the origin.
|
default CacheSettings.Builder |
CacheSettings.Builder.forwardedQueryStrings(Consumer<QueryStringObject.Builder> forwardedQueryStrings)
An object that describes the query strings that are forwarded to the origin.
|
CacheSettings.Builder |
CacheSettings.Builder.forwardedQueryStrings(QueryStringObject forwardedQueryStrings)
An object that describes the query strings that are forwarded to the origin.
|
CacheSettings.Builder |
CacheSettings.Builder.maximumTTL(Long maximumTTL)
The maximum amount of time that objects stay in the distribution's cache before the distribution forwards
another request to the origin to determine whether the object has been updated.
|
CacheSettings.Builder |
CacheSettings.Builder.minimumTTL(Long minimumTTL)
The minimum amount of time that objects stay in the distribution's cache before the distribution forwards
another request to the origin to determine whether the object has been updated.
|
CacheSettings.Builder |
CacheSettings.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CacheSettings.Builder> |
CacheSettings.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default UpdateDistributionRequest.Builder |
UpdateDistributionRequest.Builder.cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
default LightsailDistribution.Builder |
LightsailDistribution.Builder.cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings of the distribution.
|
default CreateDistributionRequest.Builder |
CreateDistributionRequest.Builder.cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
Copyright © 2021. All rights reserved.