public static interface UpdateDistributionRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<UpdateDistributionRequest.Builder,UpdateDistributionRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateDistributionRequest.Builder |
cacheBehaviors(CacheBehaviorPerPath... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
UpdateDistributionRequest.Builder |
cacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
UpdateDistributionRequest.Builder |
cacheBehaviors(Consumer<CacheBehaviorPerPath.Builder>... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
UpdateDistributionRequest.Builder |
cacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
default UpdateDistributionRequest.Builder |
cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
UpdateDistributionRequest.Builder |
defaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
|
default UpdateDistributionRequest.Builder |
defaultCacheBehavior(Consumer<CacheBehavior.Builder> defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
|
UpdateDistributionRequest.Builder |
distributionName(String distributionName)
The name of the distribution to update.
|
UpdateDistributionRequest.Builder |
isEnabled(Boolean isEnabled)
Indicates whether to enable the distribution.
|
default UpdateDistributionRequest.Builder |
origin(Consumer<InputOrigin.Builder> origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or
load balancer.
|
UpdateDistributionRequest.Builder |
origin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or
load balancer.
|
UpdateDistributionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateDistributionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateDistributionRequest.Builder distributionName(String distributionName)
The name of the distribution to update.
Use the GetDistributions action to get a list of distribution names that you can specify.
distributionName - The name of the distribution to update.
Use the GetDistributions action to get a list of distribution names that you can specify.
UpdateDistributionRequest.Builder origin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
origin - An object that describes the origin resource for the distribution, such as a Lightsail instance,
bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
default UpdateDistributionRequest.Builder origin(Consumer<InputOrigin.Builder> origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
This is a convenience method that creates an instance of theInputOrigin.Builder avoiding the need to
create one manually via InputOrigin.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to origin(InputOrigin).
origin - a consumer that will call methods on InputOrigin.Builderorigin(InputOrigin)UpdateDistributionRequest.Builder defaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
defaultCacheBehavior - An object that describes the default cache behavior for the distribution.default UpdateDistributionRequest.Builder defaultCacheBehavior(Consumer<CacheBehavior.Builder> defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
This is a convenience method that creates an instance of theCacheBehavior.Builder avoiding the need
to create one manually via CacheBehavior.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to defaultCacheBehavior(CacheBehavior).
defaultCacheBehavior - a consumer that will call methods on CacheBehavior.BuilderdefaultCacheBehavior(CacheBehavior)UpdateDistributionRequest.Builder cacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace
your distribution's existing settings.
cacheBehaviorSettings - An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings specified in your UpdateDistributionRequest will
replace your distribution's existing settings.
default UpdateDistributionRequest.Builder cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace
your distribution's existing settings.
CacheSettings.Builder avoiding
the need to create one manually via CacheSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to cacheBehaviorSettings(CacheSettings).
cacheBehaviorSettings - a consumer that will call methods on CacheSettings.BuildercacheBehaviorSettings(CacheSettings)UpdateDistributionRequest.Builder cacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
cacheBehaviors - An array of objects that describe the per-path cache behavior for the distribution.UpdateDistributionRequest.Builder cacheBehaviors(CacheBehaviorPerPath... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
cacheBehaviors - An array of objects that describe the per-path cache behavior for the distribution.UpdateDistributionRequest.Builder cacheBehaviors(Consumer<CacheBehaviorPerPath.Builder>... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
This is a convenience method that creates an instance of theCacheBehaviorPerPath.Builder avoiding the need to
create one manually via
CacheBehaviorPerPath.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #cacheBehaviors(List.
cacheBehaviors - a consumer that will call methods on
CacheBehaviorPerPath.Builder#cacheBehaviors(java.util.Collection) UpdateDistributionRequest.Builder isEnabled(Boolean isEnabled)
Indicates whether to enable the distribution.
isEnabled - Indicates whether to enable the distribution.UpdateDistributionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateDistributionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.