public static interface Deployment.Builder extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
Modifier and Type | Method and Description |
---|---|
Deployment.Builder |
createdAt(Instant createdAt)
The Unix timestamp for when the service deployment 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 |
launchType(LaunchType launchType)
The launch type the tasks in the service are using.
|
Deployment.Builder |
launchType(String launchType)
The launch type the tasks in the service are using.
|
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 |
platformVersion(String platformVersion)
The platform version on which your tasks in the service are running.
|
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 tasks in the service to use.
|
Deployment.Builder |
updatedAt(Instant updatedAt)
The Unix timestamp for when the service deployment 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. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
status
- The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
Deployment.Builder taskDefinition(String taskDefinition)
The most recent task definition that was specified for the tasks in the service to use.
taskDefinition
- The most recent task definition that was specified for the tasks in 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 deployment was created.
createdAt
- The Unix timestamp for when the service deployment was created.Deployment.Builder updatedAt(Instant updatedAt)
The Unix timestamp for when the service deployment was last updated.
updatedAt
- The Unix timestamp for when the service deployment was last updated.Deployment.Builder launchType(String launchType)
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType
- The launch type the tasks in the service are using. For more information, see Amazon ECS Launch
Types in the Amazon Elastic Container Service Developer Guide.LaunchType
,
LaunchType
Deployment.Builder launchType(LaunchType launchType)
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType
- The launch type the tasks in the service are using. For more information, see Amazon ECS Launch
Types in the Amazon Elastic Container Service Developer Guide.LaunchType
,
LaunchType
Deployment.Builder platformVersion(String platformVersion)
The platform version on which your tasks in the service are running. A platform version is only specified for
tasks using the Fargate launch type. If one is not specified, the LATEST
platform version is
used by default. For more information, see AWS Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.
platformVersion
- The platform version on which your tasks in the service are running. A platform version is only
specified for tasks using the Fargate launch type. If one is not specified, the LATEST
platform version is used by default. For more information, see AWS Fargate
Platform Versions in the Amazon Elastic Container Service Developer Guide.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.