@Generated(value="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 and Description |
---|---|
static interface |
Deployment.Builder |
Modifier and Type | Method and Description |
---|---|
static Deployment.Builder |
builder() |
Instant |
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the deployment.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
NetworkConfiguration |
networkConfiguration()
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the
awsvpc networking mode. |
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() |
Instant |
updatedAt()
The Unix timestamp for when the service was last updated.
|
copy
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 Instant createdAt()
The Unix timestamp for when the service was created.
public Instant updatedAt()
The Unix timestamp for when the service was last updated.
public NetworkConfiguration networkConfiguration()
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the awsvpc
networking mode.
awsvpc
networking mode.public Deployment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Deployment.Builder,Deployment>
public static Deployment.Builder builder()
public static Class<? extends Deployment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.