@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable, StructuredPojo
The detailed information about a deployment.
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the deployment.
|
Date |
getCompletedAt()
The date and time the deployment was completed.
|
String |
getComponentName()
The name of the component associated with this deployment.
|
Date |
getCreatedAt()
The date and time the deployment was created.
|
String |
getDeploymentStatus()
The status of the deployment.
|
String |
getDeploymentStatusMessage()
The deployment status message.
|
String |
getEnvironmentName()
The name of the environment associated with this deployment.
|
String |
getId()
The ID of the deployment.
|
DeploymentState |
getInitialState()
The initial state of the target resource at the time of the deployment.
|
String |
getLastAttemptedDeploymentId()
The ID of the last attempted deployment.
|
Date |
getLastModifiedAt()
The date and time the deployment was last modified.
|
String |
getLastSucceededDeploymentId()
The ID of the last successful deployment.
|
String |
getServiceInstanceName()
The name of the deployment's service instance.
|
String |
getServiceName()
The name of the service in this deployment.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) of the target of the deployment.
|
Date |
getTargetResourceCreatedAt()
The date and time the depoyment target was created.
|
String |
getTargetResourceType()
The resource type of the deployment target.
|
DeploymentState |
getTargetState()
The target state of the target resource at the time of the deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the deployment.
|
void |
setCompletedAt(Date completedAt)
The date and time the deployment was completed.
|
void |
setComponentName(String componentName)
The name of the component associated with this deployment.
|
void |
setCreatedAt(Date createdAt)
The date and time the deployment was created.
|
void |
setDeploymentStatus(String deploymentStatus)
The status of the deployment.
|
void |
setDeploymentStatusMessage(String deploymentStatusMessage)
The deployment status message.
|
void |
setEnvironmentName(String environmentName)
The name of the environment associated with this deployment.
|
void |
setId(String id)
The ID of the deployment.
|
void |
setInitialState(DeploymentState initialState)
The initial state of the target resource at the time of the deployment.
|
void |
setLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment.
|
void |
setLastModifiedAt(Date lastModifiedAt)
The date and time the deployment was last modified.
|
void |
setLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment.
|
void |
setServiceInstanceName(String serviceInstanceName)
The name of the deployment's service instance.
|
void |
setServiceName(String serviceName)
The name of the service in this deployment.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target of the deployment.
|
void |
setTargetResourceCreatedAt(Date targetResourceCreatedAt)
The date and time the depoyment target was created.
|
void |
setTargetResourceType(String targetResourceType)
The resource type of the deployment target.
|
void |
setTargetState(DeploymentState targetState)
The target state of the target resource at the time of the deployment.
|
String |
toString()
Returns a string representation of this object.
|
Deployment |
withArn(String arn)
The Amazon Resource Name (ARN) of the deployment.
|
Deployment |
withCompletedAt(Date completedAt)
The date and time the deployment was completed.
|
Deployment |
withComponentName(String componentName)
The name of the component associated with this deployment.
|
Deployment |
withCreatedAt(Date createdAt)
The date and time the deployment was created.
|
Deployment |
withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
|
Deployment |
withDeploymentStatus(String deploymentStatus)
The status of the deployment.
|
Deployment |
withDeploymentStatusMessage(String deploymentStatusMessage)
The deployment status message.
|
Deployment |
withEnvironmentName(String environmentName)
The name of the environment associated with this deployment.
|
Deployment |
withId(String id)
The ID of the deployment.
|
Deployment |
withInitialState(DeploymentState initialState)
The initial state of the target resource at the time of the deployment.
|
Deployment |
withLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment.
|
Deployment |
withLastModifiedAt(Date lastModifiedAt)
The date and time the deployment was last modified.
|
Deployment |
withLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment.
|
Deployment |
withServiceInstanceName(String serviceInstanceName)
The name of the deployment's service instance.
|
Deployment |
withServiceName(String serviceName)
The name of the service in this deployment.
|
Deployment |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target of the deployment.
|
Deployment |
withTargetResourceCreatedAt(Date targetResourceCreatedAt)
The date and time the depoyment target was created.
|
Deployment |
withTargetResourceType(DeploymentTargetResourceType targetResourceType)
The resource type of the deployment target.
|
Deployment |
withTargetResourceType(String targetResourceType)
The resource type of the deployment target.
|
Deployment |
withTargetState(DeploymentState targetState)
The target state of the target resource at the time of the deployment.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the deployment.
arn
- The Amazon Resource Name (ARN) of the deployment.public String getArn()
The Amazon Resource Name (ARN) of the deployment.
public Deployment withArn(String arn)
The Amazon Resource Name (ARN) of the deployment.
arn
- The Amazon Resource Name (ARN) of the deployment.public void setCompletedAt(Date completedAt)
The date and time the deployment was completed.
completedAt
- The date and time the deployment was completed.public Date getCompletedAt()
The date and time the deployment was completed.
public Deployment withCompletedAt(Date completedAt)
The date and time the deployment was completed.
completedAt
- The date and time the deployment was completed.public void setComponentName(String componentName)
The name of the component associated with this deployment.
componentName
- The name of the component associated with this deployment.public String getComponentName()
The name of the component associated with this deployment.
public Deployment withComponentName(String componentName)
The name of the component associated with this deployment.
componentName
- The name of the component associated with this deployment.public void setCreatedAt(Date createdAt)
The date and time the deployment was created.
createdAt
- The date and time the deployment was created.public Date getCreatedAt()
The date and time the deployment was created.
public Deployment withCreatedAt(Date createdAt)
The date and time the deployment was created.
createdAt
- The date and time the deployment was created.public void setDeploymentStatus(String deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public String getDeploymentStatus()
The status of the deployment.
DeploymentStatus
public Deployment withDeploymentStatus(String deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public Deployment withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public void setDeploymentStatusMessage(String deploymentStatusMessage)
The deployment status message.
deploymentStatusMessage
- The deployment status message.public String getDeploymentStatusMessage()
The deployment status message.
public Deployment withDeploymentStatusMessage(String deploymentStatusMessage)
The deployment status message.
deploymentStatusMessage
- The deployment status message.public void setEnvironmentName(String environmentName)
The name of the environment associated with this deployment.
environmentName
- The name of the environment associated with this deployment.public String getEnvironmentName()
The name of the environment associated with this deployment.
public Deployment withEnvironmentName(String environmentName)
The name of the environment associated with this deployment.
environmentName
- The name of the environment associated with this deployment.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 setInitialState(DeploymentState initialState)
The initial state of the target resource at the time of the deployment.
initialState
- The initial state of the target resource at the time of the deployment.public DeploymentState getInitialState()
The initial state of the target resource at the time of the deployment.
public Deployment withInitialState(DeploymentState initialState)
The initial state of the target resource at the time of the deployment.
initialState
- The initial state of the target resource at the time of the deployment.public void setLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment.
lastAttemptedDeploymentId
- The ID of the last attempted deployment.public String getLastAttemptedDeploymentId()
The ID of the last attempted deployment.
public Deployment withLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment.
lastAttemptedDeploymentId
- The ID of the last attempted deployment.public void setLastModifiedAt(Date lastModifiedAt)
The date and time the deployment was last modified.
lastModifiedAt
- The date and time the deployment was last modified.public Date getLastModifiedAt()
The date and time the deployment was last modified.
public Deployment withLastModifiedAt(Date lastModifiedAt)
The date and time the deployment was last modified.
lastModifiedAt
- The date and time the deployment was last modified.public void setLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment.
lastSucceededDeploymentId
- The ID of the last successful deployment.public String getLastSucceededDeploymentId()
The ID of the last successful deployment.
public Deployment withLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment.
lastSucceededDeploymentId
- The ID of the last successful deployment.public void setServiceInstanceName(String serviceInstanceName)
The name of the deployment's service instance.
serviceInstanceName
- The name of the deployment's service instance.public String getServiceInstanceName()
The name of the deployment's service instance.
public Deployment withServiceInstanceName(String serviceInstanceName)
The name of the deployment's service instance.
serviceInstanceName
- The name of the deployment's service instance.public void setServiceName(String serviceName)
The name of the service in this deployment.
serviceName
- The name of the service in this deployment.public String getServiceName()
The name of the service in this deployment.
public Deployment withServiceName(String serviceName)
The name of the service in this deployment.
serviceName
- The name of the service in this deployment.public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target of the deployment.
targetArn
- The Amazon Resource Name (ARN) of the target of the deployment.public String getTargetArn()
The Amazon Resource Name (ARN) of the target of the deployment.
public Deployment withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target of the deployment.
targetArn
- The Amazon Resource Name (ARN) of the target of the deployment.public void setTargetResourceCreatedAt(Date targetResourceCreatedAt)
The date and time the depoyment target was created.
targetResourceCreatedAt
- The date and time the depoyment target was created.public Date getTargetResourceCreatedAt()
The date and time the depoyment target was created.
public Deployment withTargetResourceCreatedAt(Date targetResourceCreatedAt)
The date and time the depoyment target was created.
targetResourceCreatedAt
- The date and time the depoyment target was created.public void setTargetResourceType(String targetResourceType)
The resource type of the deployment target. It can be an environment, service, service instance, or component.
targetResourceType
- The resource type of the deployment target. It can be an environment, service, service instance, or
component.DeploymentTargetResourceType
public String getTargetResourceType()
The resource type of the deployment target. It can be an environment, service, service instance, or component.
DeploymentTargetResourceType
public Deployment withTargetResourceType(String targetResourceType)
The resource type of the deployment target. It can be an environment, service, service instance, or component.
targetResourceType
- The resource type of the deployment target. It can be an environment, service, service instance, or
component.DeploymentTargetResourceType
public Deployment withTargetResourceType(DeploymentTargetResourceType targetResourceType)
The resource type of the deployment target. It can be an environment, service, service instance, or component.
targetResourceType
- The resource type of the deployment target. It can be an environment, service, service instance, or
component.DeploymentTargetResourceType
public void setTargetState(DeploymentState targetState)
The target state of the target resource at the time of the deployment.
targetState
- The target state of the target resource at the time of the deployment.public DeploymentState getTargetState()
The target state of the target resource at the time of the deployment.
public Deployment withTargetState(DeploymentState targetState)
The target state of the target resource at the time of the deployment.
targetState
- The target state of the target resource at the time of the deployment.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.