public static interface CreateDeploymentStrategyRequest.Builder extends AppConfigRequest.Builder, SdkPojo, CopyableBuilder<CreateDeploymentStrategyRequest.Builder,CreateDeploymentStrategyRequest>
Modifier and Type | Method and Description |
---|---|
CreateDeploymentStrategyRequest.Builder |
deploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time for a deployment to last.
|
CreateDeploymentStrategyRequest.Builder |
description(String description)
A description of the deployment strategy.
|
CreateDeploymentStrategyRequest.Builder |
finalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
The amount of time AppConfig monitors for alarms before considering the deployment to be complete and no
longer eligible for automatic roll back.
|
CreateDeploymentStrategyRequest.Builder |
growthFactor(Float growthFactor)
The percentage of targets to receive a deployed configuration during each interval.
|
CreateDeploymentStrategyRequest.Builder |
growthType(GrowthType growthType)
The algorithm used to define how percentage grows over time.
|
CreateDeploymentStrategyRequest.Builder |
growthType(String growthType)
The algorithm used to define how percentage grows over time.
|
CreateDeploymentStrategyRequest.Builder |
name(String name)
A name for the deployment strategy.
|
CreateDeploymentStrategyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDeploymentStrategyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDeploymentStrategyRequest.Builder |
replicateTo(ReplicateTo replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
|
CreateDeploymentStrategyRequest.Builder |
replicateTo(String replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
|
CreateDeploymentStrategyRequest.Builder |
tags(Map<String,String> tags)
Metadata to assign to the deployment strategy.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateDeploymentStrategyRequest.Builder name(String name)
A name for the deployment strategy.
name
- A name for the deployment strategy.CreateDeploymentStrategyRequest.Builder description(String description)
A description of the deployment strategy.
description
- A description of the deployment strategy.CreateDeploymentStrategyRequest.Builder deploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time for a deployment to last.
deploymentDurationInMinutes
- Total amount of time for a deployment to last.CreateDeploymentStrategyRequest.Builder finalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
The amount of time AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back.
finalBakeTimeInMinutes
- The amount of time AppConfig monitors for alarms before considering the deployment to be complete and
no longer eligible for automatic roll back.CreateDeploymentStrategyRequest.Builder growthFactor(Float growthFactor)
The percentage of targets to receive a deployed configuration during each interval.
growthFactor
- The percentage of targets to receive a deployed configuration during each interval.CreateDeploymentStrategyRequest.Builder growthType(String growthType)
The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
Linear: For this type, AppConfig processes the deployment by dividing the total number of targets by
the value specified for Step percentage
. For example, a linear deployment that uses a
Step percentage
of 10 deploys the configuration to 10 percent of the hosts. After those
deployments are complete, the system deploys the configuration to the next 10 percent. This continues until
100% of the targets have successfully received the configuration.
Exponential: For this type, AppConfig processes the deployment exponentially using the following
formula: G*(2^N)
. In this formula, G
is the growth factor specified by the user and
N
is the number of steps until the configuration is deployed to all targets. For example, if you
specify a growth factor of 2, then the system rolls out the configuration as follows:
2*(2^0)
2*(2^1)
2*(2^2)
Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
growthType
- The algorithm used to define how percentage grows over time. AWS AppConfig supports the following
growth types:
Linear: For this type, AppConfig processes the deployment by dividing the total number of
targets by the value specified for Step percentage
. For example, a linear deployment that
uses a Step percentage
of 10 deploys the configuration to 10 percent of the hosts. After
those deployments are complete, the system deploys the configuration to the next 10 percent. This
continues until 100% of the targets have successfully received the configuration.
Exponential: For this type, AppConfig processes the deployment exponentially using the
following formula: G*(2^N)
. In this formula, G
is the growth factor
specified by the user and N
is the number of steps until the configuration is deployed to
all targets. For example, if you specify a growth factor of 2, then the system rolls out the
configuration as follows:
2*(2^0)
2*(2^1)
2*(2^2)
Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
GrowthType
,
GrowthType
CreateDeploymentStrategyRequest.Builder growthType(GrowthType growthType)
The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
Linear: For this type, AppConfig processes the deployment by dividing the total number of targets by
the value specified for Step percentage
. For example, a linear deployment that uses a
Step percentage
of 10 deploys the configuration to 10 percent of the hosts. After those
deployments are complete, the system deploys the configuration to the next 10 percent. This continues until
100% of the targets have successfully received the configuration.
Exponential: For this type, AppConfig processes the deployment exponentially using the following
formula: G*(2^N)
. In this formula, G
is the growth factor specified by the user and
N
is the number of steps until the configuration is deployed to all targets. For example, if you
specify a growth factor of 2, then the system rolls out the configuration as follows:
2*(2^0)
2*(2^1)
2*(2^2)
Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
growthType
- The algorithm used to define how percentage grows over time. AWS AppConfig supports the following
growth types:
Linear: For this type, AppConfig processes the deployment by dividing the total number of
targets by the value specified for Step percentage
. For example, a linear deployment that
uses a Step percentage
of 10 deploys the configuration to 10 percent of the hosts. After
those deployments are complete, the system deploys the configuration to the next 10 percent. This
continues until 100% of the targets have successfully received the configuration.
Exponential: For this type, AppConfig processes the deployment exponentially using the
following formula: G*(2^N)
. In this formula, G
is the growth factor
specified by the user and N
is the number of steps until the configuration is deployed to
all targets. For example, if you specify a growth factor of 2, then the system rolls out the
configuration as follows:
2*(2^0)
2*(2^1)
2*(2^2)
Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
GrowthType
,
GrowthType
CreateDeploymentStrategyRequest.Builder replicateTo(String replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
replicateTo
- Save the deployment strategy to a Systems Manager (SSM) document.ReplicateTo
,
ReplicateTo
CreateDeploymentStrategyRequest.Builder replicateTo(ReplicateTo replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
replicateTo
- Save the deployment strategy to a Systems Manager (SSM) document.ReplicateTo
,
ReplicateTo
CreateDeploymentStrategyRequest.Builder tags(Map<String,String> tags)
Metadata to assign to the deployment strategy. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
tags
- Metadata to assign to the deployment strategy. Tags help organize and categorize your AppConfig
resources. Each tag consists of a key and an optional value, both of which you define.CreateDeploymentStrategyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDeploymentStrategyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.