Class InstanceSummary
- All Implemented Interfaces:
Serializable, Cloneable
Information about an instance in a deployment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe deployment ID.The instance ID.A timestamp indicating when the instance information was last updated.A list of lifecycle events for this instance.The deployment status for this instance:inthashCode()voidsetDeploymentId(String deploymentId) The deployment ID.voidsetInstanceId(String instanceId) The instance ID.voidsetLastUpdatedAt(Date lastUpdatedAt) A timestamp indicating when the instance information was last updated.voidsetLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents) A list of lifecycle events for this instance.voidsetStatus(InstanceStatus status) The deployment status for this instance:voidThe deployment status for this instance:toString()Returns a string representation of this object; useful for testing and debugging.withDeploymentId(String deploymentId) The deployment ID.withInstanceId(String instanceId) The instance ID.withLastUpdatedAt(Date lastUpdatedAt) A timestamp indicating when the instance information was last updated.withLifecycleEvents(LifecycleEvent... lifecycleEvents) A list of lifecycle events for this instance.withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents) A list of lifecycle events for this instance.withStatus(InstanceStatus status) The deployment status for this instance:withStatus(String status) The deployment status for this instance:
-
Constructor Details
-
InstanceSummary
public InstanceSummary()
-
-
Method Details
-
setDeploymentId
The deployment ID.
- Parameters:
deploymentId- The deployment ID.
-
getDeploymentId
-
withDeploymentId
The deployment ID.
- Parameters:
deploymentId- The deployment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The instance ID.
- Parameters:
instanceId- The instance ID.
-
getInstanceId
-
withInstanceId
The instance ID.
- Parameters:
instanceId- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The deployment status for this instance:
- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Parameters:
status- The deployment status for this instance:- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- See Also:
-
getStatus
The deployment status for this instance:
- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Returns:
- The deployment status for this instance:
- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- See Also:
-
withStatus
The deployment status for this instance:
- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Parameters:
status- The deployment status for this instance:- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The deployment status for this instance:
- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Parameters:
status- The deployment status for this instance:- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- See Also:
-
withStatus
The deployment status for this instance:
- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Parameters:
status- The deployment status for this instance:- Pending: The deployment is pending for this instance.
- In Progress: The deployment is in progress for this instance.
- Succeeded: The deployment has succeeded for this instance.
- Failed: The deployment has failed for this instance.
- Skipped: The deployment has been skipped for this instance.
- Unknown: The deployment status is unknown for this instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLastUpdatedAt
A timestamp indicating when the instance information was last updated.
- Parameters:
lastUpdatedAt- A timestamp indicating when the instance information was last updated.
-
getLastUpdatedAt
A timestamp indicating when the instance information was last updated.
- Returns:
- A timestamp indicating when the instance information was last updated.
-
withLastUpdatedAt
A timestamp indicating when the instance information was last updated.
- Parameters:
lastUpdatedAt- A timestamp indicating when the instance information was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLifecycleEvents
A list of lifecycle events for this instance.
- Returns:
- A list of lifecycle events for this instance.
-
setLifecycleEvents
A list of lifecycle events for this instance.
- Parameters:
lifecycleEvents- A list of lifecycle events for this instance.
-
withLifecycleEvents
A list of lifecycle events for this instance.
NOTE: This method appends the values to the existing list (if any). Use
setLifecycleEvents(java.util.Collection)orwithLifecycleEvents(java.util.Collection)if you want to override the existing values.- Parameters:
lifecycleEvents- A list of lifecycle events for this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLifecycleEvents
A list of lifecycle events for this instance.
- Parameters:
lifecycleEvents- A list of lifecycle events for this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-