Class CreateDeploymentRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a create deployment operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.The name of a deployment configuration associated with the applicable IAM user or AWS account.The name of the deployment group.A comment about the deployment.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.The type and location of the revision to deploy.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withApplicationName
(String applicationName) The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.withDeploymentConfigName
(String deploymentConfigName) The name of a deployment configuration associated with the applicable IAM user or AWS account.withDeploymentGroupName
(String deploymentGroupName) The name of the deployment group.withDescription
(String description) A comment about the deployment.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.withRevision
(RevisionLocation revision) The type and location of the revision to deploy.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateDeploymentRequest
public CreateDeploymentRequest()
-
-
Method Details
-
setApplicationName
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
- Parameters:
applicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
-
getApplicationName
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
- Returns:
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
-
withApplicationName
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
- Parameters:
applicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentGroupName
The name of the deployment group.
- Parameters:
deploymentGroupName
- The name of the deployment group.
-
getDeploymentGroupName
The name of the deployment group.
- Returns:
- The name of the deployment group.
-
withDeploymentGroupName
The name of the deployment group.
- Parameters:
deploymentGroupName
- The name of the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRevision
The type and location of the revision to deploy.
- Parameters:
revision
- The type and location of the revision to deploy.
-
getRevision
The type and location of the revision to deploy.
- Returns:
- The type and location of the revision to deploy.
-
withRevision
The type and location of the revision to deploy.
- Parameters:
revision
- The type and location of the revision to deploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentConfigName
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withDeploymentConfigName
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A comment about the deployment.
- Parameters:
description
- A comment about the deployment.
-
getDescription
A comment about the deployment.
- Returns:
- A comment about the deployment.
-
withDescription
A comment about the deployment.
- Parameters:
description
- A comment about the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIgnoreApplicationStopFailures
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withIgnoreApplicationStopFailures
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-