public static interface CreateDistributionRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateDistributionRequest.Builder,CreateDistributionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDistributionRequest.Builder |
bundleId(String bundleId)
The bundle ID to use for the distribution.
|
CreateDistributionRequest.Builder |
cacheBehaviors(CacheBehaviorPerPath... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
CreateDistributionRequest.Builder |
cacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
CreateDistributionRequest.Builder |
cacheBehaviors(Consumer<CacheBehaviorPerPath.Builder>... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
CreateDistributionRequest.Builder |
cacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
default CreateDistributionRequest.Builder |
cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
CreateDistributionRequest.Builder |
defaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
|
default CreateDistributionRequest.Builder |
defaultCacheBehavior(Consumer<CacheBehavior.Builder> defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
|
CreateDistributionRequest.Builder |
distributionName(String distributionName)
The name for the distribution.
|
CreateDistributionRequest.Builder |
ipAddressType(IpAddressType ipAddressType)
The IP address type for the distribution.
|
CreateDistributionRequest.Builder |
ipAddressType(String ipAddressType)
The IP address type for the distribution.
|
default CreateDistributionRequest.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.
|
CreateDistributionRequest.Builder |
origin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or
load balancer.
|
CreateDistributionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDistributionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDistributionRequest.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values to add to the distribution during create.
|
CreateDistributionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the distribution during create.
|
CreateDistributionRequest.Builder |
tags(Tag... tags)
The tag keys and optional values to add to the distribution during create.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDistributionRequest.Builder distributionName(String distributionName)
The name for the distribution.
distributionName - The name for the distribution.CreateDistributionRequest.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 CreateDistributionRequest.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)CreateDistributionRequest.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 CreateDistributionRequest.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)CreateDistributionRequest.Builder cacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
cacheBehaviorSettings - An object that describes the cache behavior settings for the distribution.default CreateDistributionRequest.Builder cacheBehaviorSettings(Consumer<CacheSettings.Builder> cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
This is a convenience method that creates an instance of theCacheSettings.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)CreateDistributionRequest.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.CreateDistributionRequest.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.CreateDistributionRequest.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) CreateDistributionRequest.Builder bundleId(String bundleId)
The bundle ID to use for the distribution.
A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota.
Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can
specify.
bundleId - The bundle ID to use for the distribution.
A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota.
Use the GetDistributionBundles action to get a list of distribution bundle IDs that you
can specify.
CreateDistributionRequest.Builder ipAddressType(String ipAddressType)
The IP address type for the distribution.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
ipAddressType - The IP address type for the distribution.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
IpAddressType,
IpAddressTypeCreateDistributionRequest.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type for the distribution.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
ipAddressType - The IP address type for the distribution.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
IpAddressType,
IpAddressTypeCreateDistributionRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the distribution during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the distribution during create.
Use the TagResource action to tag a resource after it's created.
CreateDistributionRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the distribution during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the distribution during create.
Use the TagResource action to tag a resource after it's created.
CreateDistributionRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the distribution during create.
Use the TagResource action to tag a resource after it's created.
Tag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateDistributionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDistributionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.