@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateDeployment operation.
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
AutoRollbackConfiguration |
getAutoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment is created.
|
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.
|
String |
getFileExistsBehavior()
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't
part of the previous successful 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.
|
TargetInstances |
getTargetInstances()
Information about the instances that will belong to the replacement environment in a blue/green deployment.
|
Boolean |
getUpdateOutdatedInstancesOnly()
Indicates whether to deploy to all instances or only to instances that are not running the latest application
revision.
|
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.
|
Boolean |
isUpdateOutdatedInstancesOnly()
Indicates whether to deploy to all instances or only to instances that are not running the latest application
revision.
|
void |
setApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
void |
setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment is created.
|
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 |
setFileExistsBehavior(FileExistsBehavior fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't
part of the previous successful deployment.
|
void |
setFileExistsBehavior(String fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't
part of the previous successful 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.
|
void |
setTargetInstances(TargetInstances targetInstances)
Information about the instances that will belong to the replacement environment in a blue/green deployment.
|
void |
setUpdateOutdatedInstancesOnly(Boolean updateOutdatedInstancesOnly)
Indicates whether to deploy to all instances or only to instances that are not running the latest application
revision.
|
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 |
withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment is created.
|
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 |
withFileExistsBehavior(FileExistsBehavior fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't
part of the previous successful deployment.
|
CreateDeploymentRequest |
withFileExistsBehavior(String fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't
part of the previous successful 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.
|
CreateDeploymentRequest |
withTargetInstances(TargetInstances targetInstances)
Information about the instances that will belong to the replacement environment in a blue/green deployment.
|
CreateDeploymentRequest |
withUpdateOutdatedInstancesOnly(Boolean updateOutdatedInstancesOnly)
Indicates whether to deploy to all instances or only to instances that are not running the latest application
revision.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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 void setTargetInstances(TargetInstances targetInstances)
Information about the instances that will belong to the replacement environment in a blue/green deployment.
targetInstances
- Information about the instances that will belong to the replacement environment in a blue/green
deployment.public TargetInstances getTargetInstances()
Information about the instances that will belong to the replacement environment in a blue/green deployment.
public CreateDeploymentRequest withTargetInstances(TargetInstances targetInstances)
Information about the instances that will belong to the replacement environment in a blue/green deployment.
targetInstances
- Information about the instances that will belong to the replacement environment in a blue/green
deployment.public void setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment is created.
autoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment is created.public AutoRollbackConfiguration getAutoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment is created.
public CreateDeploymentRequest withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment is created.
autoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment is created.public void setUpdateOutdatedInstancesOnly(Boolean updateOutdatedInstancesOnly)
Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.
updateOutdatedInstancesOnly
- Indicates whether to deploy to all instances or only to instances that are not running the latest
application revision.public Boolean getUpdateOutdatedInstancesOnly()
Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.
public CreateDeploymentRequest withUpdateOutdatedInstancesOnly(Boolean updateOutdatedInstancesOnly)
Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.
updateOutdatedInstancesOnly
- Indicates whether to deploy to all instances or only to instances that are not running the latest
application revision.public Boolean isUpdateOutdatedInstancesOnly()
Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.
public void setFileExistsBehavior(String fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
fileExistsBehavior
- Information about how AWS CodeDeploy handles files that already exist in a deployment target location but
weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
FileExistsBehavior
public String getFileExistsBehavior()
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
FileExistsBehavior
public CreateDeploymentRequest withFileExistsBehavior(String fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
fileExistsBehavior
- Information about how AWS CodeDeploy handles files that already exist in a deployment target location but
weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
FileExistsBehavior
public void setFileExistsBehavior(FileExistsBehavior fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
fileExistsBehavior
- Information about how AWS CodeDeploy handles files that already exist in a deployment target location but
weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
FileExistsBehavior
public CreateDeploymentRequest withFileExistsBehavior(FileExistsBehavior fileExistsBehavior)
Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
fileExistsBehavior
- Information about how AWS CodeDeploy handles files that already exist in a deployment target location but
weren't part of the previous successful deployment.
The fileExistsBehavior parameter takes any of the following values:
DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
FileExistsBehavior
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.