public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a create deployment operation.
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, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an existing AWS CodeDeploy application associated with
the applicable IAM user or AWS account.public String getApplicationName()
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public CreateDeploymentRequest withApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an existing AWS CodeDeploy application associated with
the applicable IAM user or AWS account.public void setDeploymentGroupName(String deploymentGroupName)
The deployment group's name.
deploymentGroupName
- The deployment group's name.public String getDeploymentGroupName()
The deployment group's name.
public CreateDeploymentRequest withDeploymentGroupName(String deploymentGroupName)
The deployment group's name.
deploymentGroupName
- The deployment group's name.public void setRevision(RevisionLocation revision)
The type of revision to deploy, along with information about the revision's location.
revision
- The type of revision to deploy, along with information about the
revision's location.public RevisionLocation getRevision()
The type of revision to deploy, along with information about the revision's location.
public CreateDeploymentRequest withRevision(RevisionLocation revision)
The type of revision to deploy, along with information about the revision's location.
revision
- The type of revision to deploy, along with information about the
revision's location.public void setDeploymentConfigName(String 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.
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 getDeploymentConfigName()
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.
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)
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.
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 void setDescription(String description)
A comment about the deployment.
description
- A comment about the deployment.public String getDescription()
A comment about the deployment.
public CreateDeploymentRequest withDescription(String description)
A comment about the deployment.
description
- A comment about the deployment.public 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.
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 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.
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 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.
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 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.
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.