Interface ContinuousDeploymentPolicyConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContinuousDeploymentPolicyConfig.Builder,
,ContinuousDeploymentPolicyConfig> SdkBuilder<ContinuousDeploymentPolicyConfig.Builder,
,ContinuousDeploymentPolicyConfig> SdkPojo
- Enclosing class:
ContinuousDeploymentPolicyConfig
-
Method Summary
Modifier and TypeMethodDescriptionA Boolean that indicates whether this continuous deployment policy is enabled (in effect).stagingDistributionDnsNames
(Consumer<StagingDistributionDnsNames.Builder> stagingDistributionDnsNames) The CloudFront domain name of the staging distribution.stagingDistributionDnsNames
(StagingDistributionDnsNames stagingDistributionDnsNames) The CloudFront domain name of the staging distribution.trafficConfig
(Consumer<TrafficConfig.Builder> trafficConfig) Contains the parameters for routing production traffic from your primary to staging distributions.trafficConfig
(TrafficConfig trafficConfig) Contains the parameters for routing production traffic from your primary to staging distributions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
stagingDistributionDnsNames
ContinuousDeploymentPolicyConfig.Builder stagingDistributionDnsNames(StagingDistributionDnsNames stagingDistributionDnsNames) The CloudFront domain name of the staging distribution. For example:
d111111abcdef8.cloudfront.net
.- Parameters:
stagingDistributionDnsNames
- The CloudFront domain name of the staging distribution. For example:d111111abcdef8.cloudfront.net
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stagingDistributionDnsNames
default ContinuousDeploymentPolicyConfig.Builder stagingDistributionDnsNames(Consumer<StagingDistributionDnsNames.Builder> stagingDistributionDnsNames) The CloudFront domain name of the staging distribution. For example:
This is a convenience method that creates an instance of thed111111abcdef8.cloudfront.net
.StagingDistributionDnsNames.Builder
avoiding the need to create one manually viaStagingDistributionDnsNames.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostagingDistributionDnsNames(StagingDistributionDnsNames)
.- Parameters:
stagingDistributionDnsNames
- a consumer that will call methods onStagingDistributionDnsNames.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 isfalse
, this policy is not enabled and has no effect.- Parameters:
enabled
- A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value istrue
, this policy is enabled and in effect. When this value isfalse
, this policy is not enabled and has no effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficConfig
Contains the parameters for routing production traffic from your primary to staging distributions.
- Parameters:
trafficConfig
- Contains the parameters for routing production traffic from your primary to staging distributions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficConfig
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 viaTrafficConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrafficConfig(TrafficConfig)
.- Parameters:
trafficConfig
- a consumer that will call methods onTrafficConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-