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 AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
String |
getDeploymentConfigName()
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
String |
getDeploymentGroupName()
The name of the deployment group.
|
String |
getDescription()
A comment about the deployment.
|
Boolean |
getIgnoreApplicationStopFailures()
If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to an instance to fail, the deployment to that
instance will not be considered to have failed at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
RevisionLocation |
getRevision()
The type and location of the revision to deploy.
|
int |
hashCode() |
Boolean |
isIgnoreApplicationStopFailures()
If set to true, then if the deployment causes the ApplicationStop
deployment lifecycle event to an instance to fail, the deployment to that
instance will not be considered to have failed at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
void |
setApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
void |
setDeploymentConfigName(String deploymentConfigName)
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The name of the deployment group.
|
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 an instance to fail, the deployment to that
instance will not be considered to have failed at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
void |
setRevision(RevisionLocation revision)
The type and location of the revision to deploy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentRequest |
withApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
CreateDeploymentRequest |
withDeploymentConfigName(String deploymentConfigName)
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
CreateDeploymentRequest |
withDeploymentGroupName(String deploymentGroupName)
The name of the deployment group.
|
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 an instance to fail, the deployment to that
instance will not be considered to have failed at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
CreateDeploymentRequest |
withRevision(RevisionLocation revision)
The type and location of the revision to deploy.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an AWS CodeDeploy application associated with the
applicable IAM user or AWS account.public String getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public CreateDeploymentRequest withApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an AWS CodeDeploy application associated with the
applicable IAM user or AWS account.public void setDeploymentGroupName(String deploymentGroupName)
The name of the deployment group.
deploymentGroupName
- The name of the deployment group.public String getDeploymentGroupName()
The name of the deployment group.
public CreateDeploymentRequest withDeploymentGroupName(String deploymentGroupName)
The name of the deployment group.
deploymentGroupName
- The name of the deployment group.public void setRevision(RevisionLocation revision)
The type and location of the revision to deploy.
revision
- The type and location of the revision to deploy.public RevisionLocation getRevision()
The type and location of the revision to deploy.
public CreateDeploymentRequest withRevision(RevisionLocation revision)
The type and location of the revision to deploy.
revision
- The type and location of the revision to deploy.public void setDeploymentConfigName(String deploymentConfigName)
The name of a 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 a 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 a 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 a 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 a 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 an instance to fail, the deployment to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, 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 an instance to fail, the deployment
to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, 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 an instance to fail, the deployment to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, 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 an instance, the deployment to that instance will stop, 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 an instance to fail, the deployment to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, 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 an instance to fail, the deployment
to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, 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 an instance to fail, the deployment to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, 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 an instance, the deployment to that instance will stop, 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 © 2016. All rights reserved.