public static interface Deployment.Builder extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
| Modifier and Type | Method and Description |
|---|---|
Deployment.Builder |
capacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
|
Deployment.Builder |
capacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
|
Deployment.Builder |
capacityProviderStrategy(Consumer<CapacityProviderStrategyItem.Builder>... capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
|
Deployment.Builder |
createdAt(Instant createdAt)
The Unix timestamp for the time 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 |
failedTasks(Integer failedTasks)
The number of consecutively failed tasks in the deployment.
|
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 |
platformFamily(String platformFamily)
The operating system that your tasks in the service, or tasks are running on.
|
Deployment.Builder |
platformVersion(String platformVersion)
The platform version that your tasks in the service run on.
|
Deployment.Builder |
rolloutState(DeploymentRolloutState rolloutState)
|
Deployment.Builder |
rolloutState(String rolloutState)
|
Deployment.Builder |
rolloutStateReason(String rolloutStateReason)
A description of the rollout state of a deployment.
|
Deployment.Builder |
runningCount(Integer runningCount)
The number of tasks in the deployment that are in the
RUNNING status. |
default Deployment.Builder |
serviceConnectConfiguration(Consumer<ServiceConnectConfiguration.Builder> serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment.
|
Deployment.Builder |
serviceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment.
|
Deployment.Builder |
serviceConnectResources(Collection<ServiceConnectServiceResource> serviceConnectResources)
The list of Service Connect resources that are associated with this deployment.
|
Deployment.Builder |
serviceConnectResources(Consumer<ServiceConnectServiceResource.Builder>... serviceConnectResources)
The list of Service Connect resources that are associated with this deployment.
|
Deployment.Builder |
serviceConnectResources(ServiceConnectServiceResource... serviceConnectResources)
The list of Service Connect resources that are associated with this deployment.
|
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 the time when the service deployment was last updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDeployment.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 failedTasks(Integer failedTasks)
The number of consecutively failed tasks in the deployment. A task is considered a failure if the service
scheduler can't launch the task, the task doesn't transition to a RUNNING state, or if it fails
any of its defined health checks and is stopped.
Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
failedTasks - The number of consecutively failed tasks in the deployment. A task is considered a failure if the
service scheduler can't launch the task, the task doesn't transition to a RUNNING state,
or if it fails any of its defined health checks and is stopped. Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
Deployment.Builder createdAt(Instant createdAt)
The Unix timestamp for the time when the service deployment was created.
createdAt - The Unix timestamp for the time when the service deployment was created.Deployment.Builder updatedAt(Instant updatedAt)
The Unix timestamp for the time when the service deployment was last updated.
updatedAt - The Unix timestamp for the time when the service deployment was last updated.Deployment.Builder capacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
capacityProviderStrategy - The capacity provider strategy that the deployment is using.Deployment.Builder capacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
capacityProviderStrategy - The capacity provider strategy that the deployment is using.Deployment.Builder capacityProviderStrategy(Consumer<CapacityProviderStrategyItem.Builder>... capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
This is a convenience method that creates an instance of theCapacityProviderStrategyItem.Builder avoiding the need to
create one manually via
CapacityProviderStrategyItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #capacityProviderStrategy(List.
capacityProviderStrategy - a consumer that will call methods on
CapacityProviderStrategyItem.Builder#capacityProviderStrategy(java.util.Collection) 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,
LaunchTypeDeployment.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,
LaunchTypeDeployment.Builder platformVersion(String platformVersion)
The platform version that your tasks in the service run on. A platform version is only specified for tasks
using the Fargate launch type. If one isn't specified, the LATEST platform version is used. For
more information, see Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.
platformVersion - The platform version that your tasks in the service run on. A platform version is only specified for
tasks using the Fargate launch type. If one isn't specified, the LATEST platform version
is used. For more information, see Fargate
Platform Versions in the Amazon Elastic Container Service Developer Guide.Deployment.Builder platformFamily(String platformFamily)
The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily value as the
service, for example, LINUX..
platformFamily - The operating system that your tasks in the service, or tasks are running on. A platform family is
specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily value as the
service, for example, LINUX..
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.BuildernetworkConfiguration(NetworkConfiguration)Deployment.Builder rolloutState(String rolloutState)
The rolloutState of a service is only returned for services that use the rolling update (
ECS) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS state. When the service reaches a steady state, the deployment transitions to a
COMPLETED state. If the service fails to reach a steady state and circuit breaker is turned on,
the deployment transitions to a FAILED state. A deployment in FAILED state doesn't
launch any new tasks. For more information, see DeploymentCircuitBreaker.
rolloutState -
The rolloutState of a service is only returned for services that use the rolling update (
ECS) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS state. When the service reaches a steady state, the deployment transitions to
a COMPLETED state. If the service fails to reach a steady state and circuit breaker is
turned on, the deployment transitions to a FAILED state. A deployment in
FAILED state doesn't launch any new tasks. For more information, see
DeploymentCircuitBreaker.
DeploymentRolloutState,
DeploymentRolloutStateDeployment.Builder rolloutState(DeploymentRolloutState rolloutState)
The rolloutState of a service is only returned for services that use the rolling update (
ECS) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS state. When the service reaches a steady state, the deployment transitions to a
COMPLETED state. If the service fails to reach a steady state and circuit breaker is turned on,
the deployment transitions to a FAILED state. A deployment in FAILED state doesn't
launch any new tasks. For more information, see DeploymentCircuitBreaker.
rolloutState -
The rolloutState of a service is only returned for services that use the rolling update (
ECS) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS state. When the service reaches a steady state, the deployment transitions to
a COMPLETED state. If the service fails to reach a steady state and circuit breaker is
turned on, the deployment transitions to a FAILED state. A deployment in
FAILED state doesn't launch any new tasks. For more information, see
DeploymentCircuitBreaker.
DeploymentRolloutState,
DeploymentRolloutStateDeployment.Builder rolloutStateReason(String rolloutStateReason)
A description of the rollout state of a deployment.
rolloutStateReason - A description of the rollout state of a deployment.Deployment.Builder serviceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
serviceConnectConfiguration - The details of the Service Connect configuration that's used by this deployment. Compare the
configuration between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
default Deployment.Builder serviceConnectConfiguration(Consumer<ServiceConnectConfiguration.Builder> serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
This is a convenience method that creates an instance of theServiceConnectConfiguration.Builder
avoiding the need to create one manually via ServiceConnectConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to serviceConnectConfiguration(ServiceConnectConfiguration).
serviceConnectConfiguration - a consumer that will call methods on ServiceConnectConfiguration.BuilderserviceConnectConfiguration(ServiceConnectConfiguration)Deployment.Builder serviceConnectResources(Collection<ServiceConnectServiceResource> serviceConnectResources)
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
serviceConnectResources - The list of Service Connect resources that are associated with this deployment. Each list entry maps a
discovery name to a Cloud Map service name.Deployment.Builder serviceConnectResources(ServiceConnectServiceResource... serviceConnectResources)
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
serviceConnectResources - The list of Service Connect resources that are associated with this deployment. Each list entry maps a
discovery name to a Cloud Map service name.Deployment.Builder serviceConnectResources(Consumer<ServiceConnectServiceResource.Builder>... serviceConnectResources)
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
This is a convenience method that creates an instance of theServiceConnectServiceResource.Builder avoiding the need to
create one manually via
ServiceConnectServiceResource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #serviceConnectResources(List.
serviceConnectResources - a consumer that will call methods on
ServiceConnectServiceResource.Builder#serviceConnectResources(java.util.Collection) Copyright © 2023. All rights reserved.