CopyableBuilder<Deployment.Builder,Deployment>
, SdkBuilder<Deployment.Builder,Deployment>
public static interface Deployment.Builder extends CopyableBuilder<Deployment.Builder,Deployment>
Modifier and Type | Method | Description |
---|---|---|
Deployment.Builder |
createdAt(Date createdAt) |
The Unix timestamp for when the service was created.
|
Deployment.Builder |
desiredCount(Integer desiredCount) |
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
Deployment.Builder |
id(String id) |
The ID of the deployment.
|
Deployment.Builder |
pendingCount(Integer pendingCount) |
The number of tasks in the deployment that are in the
PENDING status. |
Deployment.Builder |
runningCount(Integer runningCount) |
The number of tasks in the deployment that are in the
RUNNING status. |
Deployment.Builder |
status(String status) |
The status of the deployment.
|
Deployment.Builder |
taskDefinition(String taskDefinition) |
The most recent task definition that was specified for the service to use.
|
Deployment.Builder |
updatedAt(Date updatedAt) |
The Unix timestamp for when the service was last updated.
|
copy
apply, build
Deployment.Builder id(String id)
The ID of the deployment.
id
- The ID of the deployment.Deployment.Builder status(String status)
The status of the deployment. Valid values are PRIMARY
(for the most recent deployment),
ACTIVE
(for previous deployments that still have tasks running, but are being replaced with the
PRIMARY
deployment), and INACTIVE
(for deployments that have been completely
replaced).
status
- The status of the deployment. Valid values are PRIMARY
(for the most recent deployment),
ACTIVE
(for previous deployments that still have tasks running, but are being replaced
with the PRIMARY
deployment), and INACTIVE
(for deployments that have been
completely replaced).Deployment.Builder taskDefinition(String taskDefinition)
The most recent task definition that was specified for the service to use.
taskDefinition
- The most recent task definition that was specified for the service to use.Deployment.Builder desiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
desiredCount
- The most recent desired count of tasks that was specified for the service to deploy or maintain.Deployment.Builder pendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the PENDING
status.
pendingCount
- The number of tasks in the deployment that are in the PENDING
status.Deployment.Builder runningCount(Integer runningCount)
The number of tasks in the deployment that are in the RUNNING
status.
runningCount
- The number of tasks in the deployment that are in the RUNNING
status.Deployment.Builder createdAt(Date createdAt)
The Unix timestamp for when the service was created.
createdAt
- The Unix timestamp for when the service was created.Deployment.Builder updatedAt(Date updatedAt)
The Unix timestamp for when the service was last updated.
updatedAt
- The Unix timestamp for when the service was last updated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.