CopyableBuilder<DeploymentInfo.Builder,DeploymentInfo>
, SdkBuilder<DeploymentInfo.Builder,DeploymentInfo>
public static interface DeploymentInfo.Builder extends CopyableBuilder<DeploymentInfo.Builder,DeploymentInfo>
Modifier and Type | Method | Description |
---|---|---|
DeploymentInfo.Builder |
additionalDeploymentStatusInfo(String additionalDeploymentStatusInfo) |
Provides information about the results of a deployment, such as whether instances in the original environment
in a blue/green deployment were not terminated.
|
DeploymentInfo.Builder |
applicationName(String applicationName) |
The application name.
|
DeploymentInfo.Builder |
autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration) |
Information about the automatic rollback configuration associated with the deployment.
|
DeploymentInfo.Builder |
blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration) |
Information about blue/green deployment options for this deployment.
|
DeploymentInfo.Builder |
completeTime(Date completeTime) |
A timestamp indicating when the deployment was complete.
|
DeploymentInfo.Builder |
createTime(Date createTime) |
A timestamp indicating when the deployment was created.
|
DeploymentInfo.Builder |
creator(String creator) |
The means by which the deployment was created:
|
DeploymentInfo.Builder |
creator(DeploymentCreator creator) |
The means by which the deployment was created:
|
DeploymentInfo.Builder |
deploymentConfigName(String deploymentConfigName) |
The deployment configuration name.
|
DeploymentInfo.Builder |
deploymentGroupName(String deploymentGroupName) |
The deployment group name.
|
DeploymentInfo.Builder |
deploymentId(String deploymentId) |
The deployment ID.
|
DeploymentInfo.Builder |
deploymentOverview(DeploymentOverview deploymentOverview) |
A summary of the deployment status of the instances in the deployment.
|
DeploymentInfo.Builder |
deploymentStyle(DeploymentStyle deploymentStyle) |
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
DeploymentInfo.Builder |
description(String description) |
A comment about the deployment.
|
DeploymentInfo.Builder |
errorInformation(ErrorInformation errorInformation) |
Information about any error associated with this deployment.
|
DeploymentInfo.Builder |
fileExistsBehavior(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.
|
DeploymentInfo.Builder |
fileExistsBehavior(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.
|
DeploymentInfo.Builder |
ignoreApplicationStopFailures(Boolean ignoreApplicationStopFailures) |
If 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.
|
DeploymentInfo.Builder |
instanceTerminationWaitTimeStarted(Boolean instanceTerminationWaitTimeStarted) |
Indicates whether the wait period set for the termination of instances in the original environment has
started.
|
DeploymentInfo.Builder |
loadBalancerInfo(LoadBalancerInfo loadBalancerInfo) |
Information about the load balancer used in the deployment.
|
DeploymentInfo.Builder |
previousRevision(RevisionLocation previousRevision) |
Information about the application revision that was deployed to the deployment group before the most recent
successful deployment.
|
DeploymentInfo.Builder |
revision(RevisionLocation revision) |
Information about the location of stored application artifacts and the service from which to retrieve them.
|
DeploymentInfo.Builder |
rollbackInfo(RollbackInfo rollbackInfo) |
Information about a deployment rollback.
|
DeploymentInfo.Builder |
startTime(Date startTime) |
A timestamp indicating when the deployment was deployed to the deployment group.
|
DeploymentInfo.Builder |
status(String status) |
The current state of the deployment as a whole.
|
DeploymentInfo.Builder |
status(DeploymentStatus status) |
The current state of the deployment as a whole.
|
DeploymentInfo.Builder |
targetInstances(TargetInstances targetInstances) |
Information about the instances that belong to the replacement environment in a blue/green deployment.
|
DeploymentInfo.Builder |
updateOutdatedInstancesOnly(Boolean updateOutdatedInstancesOnly) |
Indicates whether only instances that are not running the latest application revision are to be deployed to.
|
copy
apply, build
DeploymentInfo.Builder applicationName(String applicationName)
The application name.
applicationName
- The application name.DeploymentInfo.Builder deploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.DeploymentInfo.Builder deploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.DeploymentInfo.Builder deploymentId(String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.DeploymentInfo.Builder previousRevision(RevisionLocation previousRevision)
Information about the application revision that was deployed to the deployment group before the most recent successful deployment.
previousRevision
- Information about the application revision that was deployed to the deployment group before the most
recent successful deployment.DeploymentInfo.Builder revision(RevisionLocation revision)
Information about the location of stored application artifacts and the service from which to retrieve them.
revision
- Information about the location of stored application artifacts and the service from which to retrieve
them.DeploymentInfo.Builder status(String status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
DeploymentInfo.Builder status(DeploymentStatus status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
DeploymentInfo.Builder errorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
errorInformation
- Information about any error associated with this deployment.DeploymentInfo.Builder createTime(Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.DeploymentInfo.Builder startTime(Date startTime)
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
startTime
- A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
DeploymentInfo.Builder completeTime(Date completeTime)
A timestamp indicating when the deployment was complete.
completeTime
- A timestamp indicating when the deployment was complete.DeploymentInfo.Builder deploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
deploymentOverview
- A summary of the deployment status of the instances in the deployment.DeploymentInfo.Builder description(String description)
A comment about the deployment.
description
- A comment about the deployment.DeploymentInfo.Builder creator(String creator)
The means by which the deployment was created:
user: A user created the deployment.
autoscaling: Auto Scaling created the deployment.
codeDeployRollback: A rollback process created the deployment.
creator
- The means by which the deployment was created:
user: A user created the deployment.
autoscaling: Auto Scaling created the deployment.
codeDeployRollback: A rollback process created the deployment.
DeploymentCreator
DeploymentInfo.Builder creator(DeploymentCreator creator)
The means by which the deployment was created:
user: A user created the deployment.
autoscaling: Auto Scaling created the deployment.
codeDeployRollback: A rollback process created the deployment.
creator
- The means by which the deployment was created:
user: A user created the deployment.
autoscaling: Auto Scaling created the deployment.
codeDeployRollback: A rollback process created the deployment.
DeploymentCreator
DeploymentInfo.Builder ignoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If 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 false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
ignoreApplicationStopFailures
- If 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 false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
DeploymentInfo.Builder autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information about the automatic rollback configuration associated with the deployment.
autoRollbackConfiguration
- Information about the automatic rollback configuration associated with the deployment.DeploymentInfo.Builder updateOutdatedInstancesOnly(Boolean updateOutdatedInstancesOnly)
Indicates whether only instances that are not running the latest application revision are to be deployed to.
updateOutdatedInstancesOnly
- Indicates whether only instances that are not running the latest application revision are to be
deployed to.DeploymentInfo.Builder rollbackInfo(RollbackInfo rollbackInfo)
Information about a deployment rollback.
rollbackInfo
- Information about a deployment rollback.DeploymentInfo.Builder deploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, either in-place or blue/green, you want to run and whether
to route deployment traffic behind a load balancer.DeploymentInfo.Builder targetInstances(TargetInstances targetInstances)
Information about the instances that belong to the replacement environment in a blue/green deployment.
targetInstances
- Information about the instances that belong to the replacement environment in a blue/green deployment.DeploymentInfo.Builder instanceTerminationWaitTimeStarted(Boolean instanceTerminationWaitTimeStarted)
Indicates whether the wait period set for the termination of instances in the original environment has started. Status is 'false' if the KEEP_ALIVE option is specified; otherwise, 'true' as soon as the termination wait period starts.
instanceTerminationWaitTimeStarted
- Indicates whether the wait period set for the termination of instances in the original environment has
started. Status is 'false' if the KEEP_ALIVE option is specified; otherwise, 'true' as soon as the
termination wait period starts.DeploymentInfo.Builder blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for this deployment.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for this deployment.DeploymentInfo.Builder loadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in the deployment.
loadBalancerInfo
- Information about the load balancer used in the deployment.DeploymentInfo.Builder additionalDeploymentStatusInfo(String additionalDeploymentStatusInfo)
Provides information about the results of a deployment, such as whether instances in the original environment in a blue/green deployment were not terminated.
additionalDeploymentStatusInfo
- Provides information about the results of a deployment, such as whether instances in the original
environment in a blue/green deployment were not terminated.DeploymentInfo.Builder fileExistsBehavior(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.
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.
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
DeploymentInfo.Builder fileExistsBehavior(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.
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.
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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.