@Stability(value=Stable) public static final class CfnDistributionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDistributionProps>
CfnDistributionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDistributionProps.Builder bundleId(String bundleId)
CfnDistributionProps.getBundleId()bundleId - The ID of the bundle applied to the distribution. This parameter is required.this@Stability(value=Stable) public CfnDistributionProps.Builder defaultCacheBehavior(CfnDistribution.CacheBehaviorProperty defaultCacheBehavior)
CfnDistributionProps.getDefaultCacheBehavior()defaultCacheBehavior - An object that describes the default cache behavior of the distribution. This parameter is required.this@Stability(value=Stable) public CfnDistributionProps.Builder defaultCacheBehavior(IResolvable defaultCacheBehavior)
CfnDistributionProps.getDefaultCacheBehavior()defaultCacheBehavior - An object that describes the default cache behavior of the distribution. This parameter is required.this@Stability(value=Stable) public CfnDistributionProps.Builder distributionName(String distributionName)
CfnDistributionProps.getDistributionName()distributionName - The name of the distribution. This parameter is required.this@Stability(value=Stable) public CfnDistributionProps.Builder origin(CfnDistribution.InputOriginProperty origin)
CfnDistributionProps.getOrigin()origin - An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. This parameter is required.
The distribution pulls, caches, and serves content from the origin.this@Stability(value=Stable) public CfnDistributionProps.Builder origin(IResolvable origin)
CfnDistributionProps.getOrigin()origin - An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. This parameter is required.
The distribution pulls, caches, and serves content from the origin.this@Stability(value=Stable) public CfnDistributionProps.Builder cacheBehaviors(IResolvable cacheBehaviors)
CfnDistributionProps.getCacheBehaviors()cacheBehaviors - An array of objects that describe the per-path cache behavior of the distribution.this@Stability(value=Stable) public CfnDistributionProps.Builder cacheBehaviors(List<? extends Object> cacheBehaviors)
CfnDistributionProps.getCacheBehaviors()cacheBehaviors - An array of objects that describe the per-path cache behavior of the distribution.this@Stability(value=Stable) public CfnDistributionProps.Builder cacheBehaviorSettings(CfnDistribution.CacheSettingsProperty cacheBehaviorSettings)
CfnDistributionProps.getCacheBehaviorSettings()cacheBehaviorSettings - An object that describes the cache behavior settings of the distribution.this@Stability(value=Stable) public CfnDistributionProps.Builder cacheBehaviorSettings(IResolvable cacheBehaviorSettings)
CfnDistributionProps.getCacheBehaviorSettings()cacheBehaviorSettings - An object that describes the cache behavior settings of the distribution.this@Stability(value=Stable) public CfnDistributionProps.Builder certificateName(String certificateName)
CfnDistributionProps.getCertificateName()certificateName - The name of the SSL/TLS certificate attached to the distribution.this@Stability(value=Stable) public CfnDistributionProps.Builder ipAddressType(String ipAddressType)
CfnDistributionProps.getIpAddressType()ipAddressType - The IP address type of the distribution.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.this@Stability(value=Stable) public CfnDistributionProps.Builder isEnabled(Boolean isEnabled)
CfnDistributionProps.getIsEnabled()isEnabled - A Boolean value indicating whether the distribution is enabled.this@Stability(value=Stable) public CfnDistributionProps.Builder isEnabled(IResolvable isEnabled)
CfnDistributionProps.getIsEnabled()isEnabled - A Boolean value indicating whether the distribution is enabled.this@Stability(value=Stable) public CfnDistributionProps.Builder tags(List<? extends CfnTag> tags)
CfnDistributionProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.
this@Stability(value=Stable) public CfnDistributionProps build()
build in interface software.amazon.jsii.Builder<CfnDistributionProps>CfnDistributionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.