public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateDeployment operation
.
Deploys an application revision through the specified deployment group.
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.
|
String |
getDeploymentConfigName()
The name of an existing deployment configuration associated with the
applicable IAM user or AWS account.
|
String |
getDeploymentGroupName()
The deployment group's name.
|
String |
getDescription()
A comment about the deployment.
|
Boolean |
getIgnoreApplicationStopFailures()
If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to fail to a specific instance, the
deployment will not be considered to have failed to that instance at
that point and will continue on to the BeforeInstall deployment
lifecycle event.
|
RevisionLocation |
getRevision()
The type of revision to deploy, along with information about the
revision's location.
|
int |
hashCode() |
Boolean |
isIgnoreApplicationStopFailures()
If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to fail to a specific instance, the
deployment will not be considered to have failed to that instance at
that point and will continue on to the BeforeInstall deployment
lifecycle event.
|
void |
setApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.
|
void |
setDeploymentConfigName(String deploymentConfigName)
The name of an existing deployment configuration associated with the
applicable IAM user or AWS account.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The deployment group's name.
|
void |
setDescription(String description)
A comment about the deployment.
|
void |
setIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to fail to a specific instance, the
deployment will not be considered to have failed to that instance at
that point and will continue on to the BeforeInstall deployment
lifecycle event.
|
void |
setRevision(RevisionLocation revision)
The type of revision to deploy, along with information about the
revision's location.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentRequest |
withApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.
|
CreateDeploymentRequest |
withDeploymentConfigName(String deploymentConfigName)
The name of an existing deployment configuration associated with the
applicable IAM user or AWS account.
|
CreateDeploymentRequest |
withDeploymentGroupName(String deploymentGroupName)
The deployment group's name.
|
CreateDeploymentRequest |
withDescription(String description)
A comment about the deployment.
|
CreateDeploymentRequest |
withIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to fail to a specific instance, the
deployment will not be considered to have failed to that instance at
that point and will continue on to the BeforeInstall deployment
lifecycle event.
|
CreateDeploymentRequest |
withRevision(RevisionLocation revision)
The type of revision to deploy, along with information about the
revision's location.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.public CreateDeploymentRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.public String getDeploymentGroupName()
Constraints:
Length: 1 - 100
public void setDeploymentGroupName(String deploymentGroupName)
Constraints:
Length: 1 - 100
deploymentGroupName
- The deployment group's name.public CreateDeploymentRequest withDeploymentGroupName(String deploymentGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentGroupName
- The deployment group's name.public RevisionLocation getRevision()
public void setRevision(RevisionLocation revision)
revision
- The type of revision to deploy, along with information about the
revision's location.public CreateDeploymentRequest withRevision(RevisionLocation revision)
Returns a reference to this object so that method calls can be chained together.
revision
- The type of revision to deploy, along with information about the
revision's location.public String getDeploymentConfigName()
If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
Constraints:
Length: 1 - 100
If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
public void setDeploymentConfigName(String deploymentConfigName)
If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
Constraints:
Length: 1 - 100
deploymentConfigName
- The name of an existing deployment configuration associated with the
applicable IAM user or AWS account. If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
public CreateDeploymentRequest withDeploymentConfigName(String deploymentConfigName)
If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentConfigName
- The name of an existing deployment configuration associated with the
applicable IAM user or AWS account. If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
public String getDescription()
public void setDescription(String description)
description
- A comment about the deployment.public CreateDeploymentRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A comment about the deployment.public Boolean isIgnoreApplicationStopFailures()
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public void setIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
ignoreApplicationStopFailures
- If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to fail to a specific instance, the
deployment will not be considered to have failed to that instance at
that point and will continue on to the BeforeInstall deployment
lifecycle event. If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public CreateDeploymentRequest withIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
Returns a reference to this object so that method calls can be chained together.
ignoreApplicationStopFailures
- If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to fail to a specific instance, the
deployment will not be considered to have failed to that instance at
that point and will continue on to the BeforeInstall deployment
lifecycle event. If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public Boolean getIgnoreApplicationStopFailures()
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.