StructuredPojo, ToCopyableBuilder<Deployment.Builder,Deployment>@Generated("software.amazon.awssdk:codegen") public class Deployment extends Object implements StructuredPojo, ToCopyableBuilder<Deployment.Builder,Deployment>
The details of an Amazon ECS service deployment.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Deployment.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static Deployment.Builder |
builder() |
|
Date |
createdAt() |
The Unix timestamp for when the service was created.
|
Integer |
desiredCount() |
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The ID of the deployment.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
Integer |
pendingCount() |
The number of tasks in the deployment that are in the
PENDING status. |
Integer |
runningCount() |
The number of tasks in the deployment that are in the
RUNNING status. |
static Class<? extends Deployment.Builder> |
serializableBuilderClass() |
|
String |
status() |
The status of the deployment.
|
String |
taskDefinition() |
The most recent task definition that was specified for the service to use.
|
Deployment.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Date |
updatedAt() |
The Unix timestamp for when the service was last updated.
|
public String id()
The ID of the deployment.
public 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).
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).public String taskDefinition()
The most recent task definition that was specified for the service to use.
public Integer desiredCount()
The most recent desired count of tasks that was specified for the service to deploy or maintain.
public Integer pendingCount()
The number of tasks in the deployment that are in the PENDING status.
PENDING status.public Integer runningCount()
The number of tasks in the deployment that are in the RUNNING status.
RUNNING status.public Date createdAt()
The Unix timestamp for when the service was created.
public Date updatedAt()
The Unix timestamp for when the service was last updated.
public Deployment.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Deployment.Builder,Deployment>public static Deployment.Builder builder()
public static Class<? extends Deployment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.