@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable, StructuredPojo
The details of an Amazon ECS service deployment.
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix time stamp for when the service was created.
|
Integer |
getDesiredCount()
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
String |
getId()
The ID of the deployment.
|
String |
getLaunchType()
The launch type on which your service is running.
|
NetworkConfiguration |
getNetworkConfiguration()
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the
awsvpc networking mode. |
Integer |
getPendingCount()
The number of tasks in the deployment that are in the
PENDING status. |
String |
getPlatformVersion()
The platform version on which your service is running.
|
Integer |
getRunningCount()
The number of tasks in the deployment that are in the
RUNNING status. |
String |
getStatus()
The status of the deployment.
|
String |
getTaskDefinition()
The most recent task definition that was specified for the service to use.
|
Date |
getUpdatedAt()
The Unix time stamp for when the service was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The Unix time stamp for when the service was created.
|
void |
setDesiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
void |
setId(String id)
The ID of the deployment.
|
void |
setLaunchType(String launchType)
The launch type on which your service is running.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by
using the
awsvpc networking mode. |
void |
setPendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the
PENDING status. |
void |
setPlatformVersion(String platformVersion)
The platform version on which your service is running.
|
void |
setRunningCount(Integer runningCount)
The number of tasks in the deployment that are in the
RUNNING status. |
void |
setStatus(String status)
The status of the deployment.
|
void |
setTaskDefinition(String taskDefinition)
The most recent task definition that was specified for the service to use.
|
void |
setUpdatedAt(Date updatedAt)
The Unix time stamp for when the service was last updated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Deployment |
withCreatedAt(Date createdAt)
The Unix time stamp for when the service was created.
|
Deployment |
withDesiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
Deployment |
withId(String id)
The ID of the deployment.
|
Deployment |
withLaunchType(LaunchType launchType)
The launch type on which your service is running.
|
Deployment |
withLaunchType(String launchType)
The launch type on which your service is running.
|
Deployment |
withNetworkConfiguration(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 |
withPendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the
PENDING status. |
Deployment |
withPlatformVersion(String platformVersion)
The platform version on which your service is running.
|
Deployment |
withRunningCount(Integer runningCount)
The number of tasks in the deployment that are in the
RUNNING status. |
Deployment |
withStatus(String status)
The status of the deployment.
|
Deployment |
withTaskDefinition(String taskDefinition)
The most recent task definition that was specified for the service to use.
|
Deployment |
withUpdatedAt(Date updatedAt)
The Unix time stamp for when the service was last updated.
|
public void setId(String id)
The ID of the deployment.
id
- The ID of the deployment.public String getId()
The ID of the deployment.
public Deployment withId(String id)
The ID of the deployment.
id
- The ID of the deployment.public void setStatus(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).public String getStatus()
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 Deployment withStatus(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).public void setTaskDefinition(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.public String getTaskDefinition()
The most recent task definition that was specified for the service to use.
public Deployment withTaskDefinition(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.public void setDesiredCount(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.public Integer getDesiredCount()
The most recent desired count of tasks that was specified for the service to deploy or maintain.
public Deployment withDesiredCount(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.public void setPendingCount(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.public Integer getPendingCount()
The number of tasks in the deployment that are in the PENDING
status.
PENDING
status.public Deployment withPendingCount(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.public void setRunningCount(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.public Integer getRunningCount()
The number of tasks in the deployment that are in the RUNNING
status.
RUNNING
status.public Deployment withRunningCount(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.public void setCreatedAt(Date createdAt)
The Unix time stamp for when the service was created.
createdAt
- The Unix time stamp for when the service was created.public Date getCreatedAt()
The Unix time stamp for when the service was created.
public Deployment withCreatedAt(Date createdAt)
The Unix time stamp for when the service was created.
createdAt
- The Unix time stamp for when the service was created.public void setUpdatedAt(Date updatedAt)
The Unix time stamp for when the service was last updated.
updatedAt
- The Unix time stamp for when the service was last updated.public Date getUpdatedAt()
The Unix time stamp for when the service was last updated.
public Deployment withUpdatedAt(Date updatedAt)
The Unix time stamp for when the service was last updated.
updatedAt
- The Unix time stamp for when the service was last updated.public void setLaunchType(String launchType)
The launch type on which your service is running.
launchType
- The launch type on which your service is running.LaunchType
public String getLaunchType()
The launch type on which your service is running.
LaunchType
public Deployment withLaunchType(String launchType)
The launch type on which your service is running.
launchType
- The launch type on which your service is running.LaunchType
public Deployment withLaunchType(LaunchType launchType)
The launch type on which your service is running.
launchType
- The launch type on which your service is running.LaunchType
public void setPlatformVersion(String platformVersion)
The platform version on which your service is running.
platformVersion
- The platform version on which your service is running.public String getPlatformVersion()
The platform version on which your service is running.
public Deployment withPlatformVersion(String platformVersion)
The platform version on which your service is running.
platformVersion
- The platform version on which your service is running.public void setNetworkConfiguration(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.public NetworkConfiguration getNetworkConfiguration()
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 withNetworkConfiguration(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.public String toString()
toString
in class Object
Object.toString()
public Deployment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.