public static interface ContinuousDeploymentPolicyConfig.Builder extends SdkPojo, CopyableBuilder<ContinuousDeploymentPolicyConfig.Builder,ContinuousDeploymentPolicyConfig>
| Modifier and Type | Method and Description |
|---|---|
ContinuousDeploymentPolicyConfig.Builder |
enabled(Boolean enabled)
A Boolean that indicates whether this continuous deployment policy is enabled (in effect).
|
default ContinuousDeploymentPolicyConfig.Builder |
stagingDistributionDnsNames(Consumer<StagingDistributionDnsNames.Builder> stagingDistributionDnsNames)
The CloudFront domain name of the staging distribution.
|
ContinuousDeploymentPolicyConfig.Builder |
stagingDistributionDnsNames(StagingDistributionDnsNames stagingDistributionDnsNames)
The CloudFront domain name of the staging distribution.
|
default ContinuousDeploymentPolicyConfig.Builder |
trafficConfig(Consumer<TrafficConfig.Builder> trafficConfig)
Contains the parameters for routing production traffic from your primary to staging distributions.
|
ContinuousDeploymentPolicyConfig.Builder |
trafficConfig(TrafficConfig trafficConfig)
Contains the parameters for routing production traffic from your primary to staging distributions.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContinuousDeploymentPolicyConfig.Builder stagingDistributionDnsNames(StagingDistributionDnsNames stagingDistributionDnsNames)
The CloudFront domain name of the staging distribution. For example:
d111111abcdef8.cloudfront.net.
stagingDistributionDnsNames - The CloudFront domain name of the staging distribution. For example:
d111111abcdef8.cloudfront.net.default ContinuousDeploymentPolicyConfig.Builder stagingDistributionDnsNames(Consumer<StagingDistributionDnsNames.Builder> stagingDistributionDnsNames)
The CloudFront domain name of the staging distribution. For example:
d111111abcdef8.cloudfront.net.
StagingDistributionDnsNames.Builder
avoiding the need to create one manually via StagingDistributionDnsNames.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stagingDistributionDnsNames(StagingDistributionDnsNames).
stagingDistributionDnsNames - a consumer that will call methods on StagingDistributionDnsNames.BuilderstagingDistributionDnsNames(StagingDistributionDnsNames)ContinuousDeploymentPolicyConfig.Builder enabled(Boolean enabled)
A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is
true, this policy is enabled and in effect. When this value is false, this policy
is not enabled and has no effect.
enabled - A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this
value is true, this policy is enabled and in effect. When this value is
false, this policy is not enabled and has no effect.ContinuousDeploymentPolicyConfig.Builder trafficConfig(TrafficConfig trafficConfig)
Contains the parameters for routing production traffic from your primary to staging distributions.
trafficConfig - Contains the parameters for routing production traffic from your primary to staging distributions.default ContinuousDeploymentPolicyConfig.Builder trafficConfig(Consumer<TrafficConfig.Builder> trafficConfig)
Contains the parameters for routing production traffic from your primary to staging distributions.
This is a convenience method that creates an instance of theTrafficConfig.Builder avoiding the need
to create one manually via TrafficConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to trafficConfig(TrafficConfig).
trafficConfig - a consumer that will call methods on TrafficConfig.BuildertrafficConfig(TrafficConfig)Copyright © 2023. All rights reserved.