public class CreateDeploymentRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a create deployment operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
private java.lang.String |
deploymentConfigName
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
private java.lang.String |
deploymentGroupName
The name of the deployment group.
|
private java.lang.String |
description
A comment about the deployment.
|
private java.lang.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.
|
private RevisionLocation |
revision
The type and location of the revision to deploy.
|
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
java.lang.String |
getDeploymentConfigName()
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
java.lang.String |
getDeploymentGroupName()
The name of the deployment group.
|
java.lang.String |
getDescription()
A comment about the deployment.
|
java.lang.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() |
java.lang.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(java.lang.String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
void |
setDeploymentConfigName(java.lang.String deploymentConfigName)
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
void |
setDeploymentGroupName(java.lang.String deploymentGroupName)
The name of the deployment group.
|
void |
setDescription(java.lang.String description)
A comment about the deployment.
|
void |
setIgnoreApplicationStopFailures(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentRequest |
withApplicationName(java.lang.String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
CreateDeploymentRequest |
withDeploymentConfigName(java.lang.String deploymentConfigName)
The name of a deployment configuration associated with the applicable IAM
user or AWS account.
|
CreateDeploymentRequest |
withDeploymentGroupName(java.lang.String deploymentGroupName)
The name of the deployment group.
|
CreateDeploymentRequest |
withDescription(java.lang.String description)
A comment about the deployment.
|
CreateDeploymentRequest |
withIgnoreApplicationStopFailures(java.lang.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
private java.lang.String applicationName
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
private java.lang.String deploymentGroupName
The name of the deployment group.
private RevisionLocation revision
The type and location of the revision to deploy.
private java.lang.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.
private java.lang.String description
A comment about the deployment.
private java.lang.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.
public void setApplicationName(java.lang.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 java.lang.String getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public CreateDeploymentRequest withApplicationName(java.lang.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(java.lang.String deploymentGroupName)
The name of the deployment group.
deploymentGroupName
- The name of the deployment group.public java.lang.String getDeploymentGroupName()
The name of the deployment group.
public CreateDeploymentRequest withDeploymentGroupName(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String description)
A comment about the deployment.
description
- A comment about the deployment.public java.lang.String getDescription()
A comment about the deployment.
public CreateDeploymentRequest withDescription(java.lang.String description)
A comment about the deployment.
description
- A comment about the deployment.public void setIgnoreApplicationStopFailures(java.lang.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 java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDeploymentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()