public static interface Deployment.Builder extends CopyableBuilder<Deployment.Builder,Deployment>
Modifier and Type | Method and Description |
---|---|
Deployment.Builder |
createdAt(Instant 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.
|
default Deployment.Builder |
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the
awsvpc networking mode. |
Deployment.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the
awsvpc networking mode. |
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(Instant updatedAt)
The Unix timestamp for when the service was last updated.
|
copy
applyMutation, 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(Instant createdAt)
The Unix timestamp for when the service was created.
createdAt
- The Unix timestamp for when the service was created.Deployment.Builder updatedAt(Instant updatedAt)
The Unix timestamp for when the service was last updated.
updatedAt
- The Unix timestamp for when the service was last updated.Deployment.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the awsvpc
networking mode.
networkConfiguration
- The VPC subnet and security group configuration for tasks that receive their own Elastic Network
Interface by using the awsvpc
networking mode.default Deployment.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the awsvpc
networking mode.
NetworkConfiguration.Builder
avoiding the need
to create one manually via NetworkConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to networkConfiguration(NetworkConfiguration)
.networkConfiguration
- a consumer that will call methods on NetworkConfiguration.Builder
networkConfiguration(NetworkConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.