@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentStrategyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDeploymentStrategyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentStrategyRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDeploymentStrategyRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDeploymentStrategyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getDeploymentDurationInMinutes()
Total amount of time for a deployment to last.
|
String |
getDescription()
A description of the deployment strategy.
|
Integer |
getFinalBakeTimeInMinutes()
Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been
deployed to 100% of its targets, before considering the deployment to be complete.
|
Float |
getGrowthFactor()
The percentage of targets to receive a deployed configuration during each interval.
|
String |
getGrowthType()
The algorithm used to define how percentage grows over time.
|
String |
getName()
A name for the deployment strategy.
|
String |
getReplicateTo()
Save the deployment strategy to a Systems Manager (SSM) document.
|
Map<String,String> |
getTags()
Metadata to assign to the deployment strategy.
|
int |
hashCode() |
void |
setDeploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time for a deployment to last.
|
void |
setDescription(String description)
A description of the deployment strategy.
|
void |
setFinalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been
deployed to 100% of its targets, before considering the deployment to be complete.
|
void |
setGrowthFactor(Float growthFactor)
The percentage of targets to receive a deployed configuration during each interval.
|
void |
setGrowthType(String growthType)
The algorithm used to define how percentage grows over time.
|
void |
setName(String name)
A name for the deployment strategy.
|
void |
setReplicateTo(String replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
|
void |
setTags(Map<String,String> tags)
Metadata to assign to the deployment strategy.
|
String |
toString()
Returns a string representation of this object.
|
CreateDeploymentStrategyRequest |
withDeploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time for a deployment to last.
|
CreateDeploymentStrategyRequest |
withDescription(String description)
A description of the deployment strategy.
|
CreateDeploymentStrategyRequest |
withFinalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been
deployed to 100% of its targets, before considering the deployment to be complete.
|
CreateDeploymentStrategyRequest |
withGrowthFactor(Float growthFactor)
The percentage of targets to receive a deployed configuration during each interval.
|
CreateDeploymentStrategyRequest |
withGrowthType(GrowthType growthType)
The algorithm used to define how percentage grows over time.
|
CreateDeploymentStrategyRequest |
withGrowthType(String growthType)
The algorithm used to define how percentage grows over time.
|
CreateDeploymentStrategyRequest |
withName(String name)
A name for the deployment strategy.
|
CreateDeploymentStrategyRequest |
withReplicateTo(ReplicateTo replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
|
CreateDeploymentStrategyRequest |
withReplicateTo(String replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
|
CreateDeploymentStrategyRequest |
withTags(Map<String,String> tags)
Metadata to assign to the deployment strategy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A name for the deployment strategy.
name
- A name for the deployment strategy.public String getName()
A name for the deployment strategy.
public CreateDeploymentStrategyRequest withName(String name)
A name for the deployment strategy.
name
- A name for the deployment strategy.public void setDescription(String description)
A description of the deployment strategy.
description
- A description of the deployment strategy.public String getDescription()
A description of the deployment strategy.
public CreateDeploymentStrategyRequest withDescription(String description)
A description of the deployment strategy.
description
- A description of the deployment strategy.public void setDeploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time for a deployment to last.
deploymentDurationInMinutes
- Total amount of time for a deployment to last.public Integer getDeploymentDurationInMinutes()
Total amount of time for a deployment to last.
public CreateDeploymentStrategyRequest withDeploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time for a deployment to last.
deploymentDurationInMinutes
- Total amount of time for a deployment to last.public void setFinalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AppConfig rolls back the deployment. You must configure permissions for AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AppConfig User Guide.
finalBakeTimeInMinutes
- Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has
been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is
triggered during this time, AppConfig rolls back the deployment. You must configure permissions for
AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AppConfig User
Guide.public Integer getFinalBakeTimeInMinutes()
Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AppConfig rolls back the deployment. You must configure permissions for AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AppConfig User Guide.
public CreateDeploymentStrategyRequest withFinalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AppConfig rolls back the deployment. You must configure permissions for AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AppConfig User Guide.
finalBakeTimeInMinutes
- Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has
been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is
triggered during this time, AppConfig rolls back the deployment. You must configure permissions for
AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AppConfig User
Guide.public void setGrowthFactor(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.public Float getGrowthFactor()
The percentage of targets to receive a deployed configuration during each interval.
public CreateDeploymentStrategyRequest withGrowthFactor(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.public void setGrowthType(String growthType)
The algorithm used to define how percentage grows over time. 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. 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
public String getGrowthType()
The algorithm used to define how percentage grows over time. 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.
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
public CreateDeploymentStrategyRequest withGrowthType(String growthType)
The algorithm used to define how percentage grows over time. 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. 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
public CreateDeploymentStrategyRequest withGrowthType(GrowthType growthType)
The algorithm used to define how percentage grows over time. 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. 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
public void setReplicateTo(String replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
replicateTo
- Save the deployment strategy to a Systems Manager (SSM) document.ReplicateTo
public String getReplicateTo()
Save the deployment strategy to a Systems Manager (SSM) document.
ReplicateTo
public CreateDeploymentStrategyRequest withReplicateTo(String replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
replicateTo
- Save the deployment strategy to a Systems Manager (SSM) document.ReplicateTo
public CreateDeploymentStrategyRequest withReplicateTo(ReplicateTo replicateTo)
Save the deployment strategy to a Systems Manager (SSM) document.
replicateTo
- Save the deployment strategy to a Systems Manager (SSM) document.ReplicateTo
public Map<String,String> getTags()
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.
public void setTags(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.public CreateDeploymentStrategyRequest withTags(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.public CreateDeploymentStrategyRequest addTagsEntry(String key, String value)
public CreateDeploymentStrategyRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentStrategyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()