@Deprecated @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about an instance in a deployment.
| Constructor and Description |
|---|
InstanceSummary()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceSummary |
clone()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDeploymentId()
Deprecated.
The unique ID of a deployment.
|
String |
getInstanceId()
Deprecated.
The instance ID.
|
String |
getInstanceType()
Deprecated.
Information about which environment an instance belongs to in a blue/green deployment.
|
Date |
getLastUpdatedAt()
Deprecated.
A timestamp that indicates when the instance information was last updated.
|
List<LifecycleEvent> |
getLifecycleEvents()
Deprecated.
A list of lifecycle events for this instance.
|
String |
getStatus()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Deprecated.
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeploymentId(String deploymentId)
Deprecated.
The unique ID of a deployment.
|
void |
setInstanceId(String instanceId)
Deprecated.
The instance ID.
|
void |
setInstanceType(InstanceType instanceType)
Deprecated.
Information about which environment an instance belongs to in a blue/green deployment.
|
void |
setInstanceType(String instanceType)
Deprecated.
Information about which environment an instance belongs to in a blue/green deployment.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Deprecated.
A timestamp that indicates when the instance information was last updated.
|
void |
setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
Deprecated.
A list of lifecycle events for this instance.
|
void |
setStatus(InstanceStatus status)
Deprecated.
|
void |
setStatus(String status)
Deprecated.
|
String |
toString()
Deprecated.
Returns a string representation of this object.
|
InstanceSummary |
withDeploymentId(String deploymentId)
Deprecated.
The unique ID of a deployment.
|
InstanceSummary |
withInstanceId(String instanceId)
Deprecated.
The instance ID.
|
InstanceSummary |
withInstanceType(InstanceType instanceType)
Deprecated.
Information about which environment an instance belongs to in a blue/green deployment.
|
InstanceSummary |
withInstanceType(String instanceType)
Deprecated.
Information about which environment an instance belongs to in a blue/green deployment.
|
InstanceSummary |
withLastUpdatedAt(Date lastUpdatedAt)
Deprecated.
A timestamp that indicates when the instance information was last updated.
|
InstanceSummary |
withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
Deprecated.
A list of lifecycle events for this instance.
|
InstanceSummary |
withLifecycleEvents(LifecycleEvent... lifecycleEvents)
Deprecated.
A list of lifecycle events for this instance.
|
InstanceSummary |
withStatus(InstanceStatus status)
Deprecated.
|
InstanceSummary |
withStatus(String status)
Deprecated.
|
public void setDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId - The unique ID of a deployment.public String getDeploymentId()
The unique ID of a deployment.
public InstanceSummary withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId - The unique ID of a deployment.public void setInstanceId(String instanceId)
The instance ID.
instanceId - The instance ID.public String getInstanceId()
The instance ID.
public InstanceSummary withInstanceId(String instanceId)
The instance ID.
instanceId - The instance ID.@Deprecated public void setStatus(String 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.
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.
InstanceStatus@Deprecated public String 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.
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.
InstanceStatus@Deprecated public InstanceSummary withStatus(String 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.
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.
InstanceStatus@Deprecated public void setStatus(InstanceStatus 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.
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.
InstanceStatus@Deprecated public InstanceSummary withStatus(InstanceStatus 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.
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.
InstanceStatuspublic void setLastUpdatedAt(Date lastUpdatedAt)
A timestamp that indicates when the instance information was last updated.
lastUpdatedAt - A timestamp that indicates when the instance information was last updated.public Date getLastUpdatedAt()
A timestamp that indicates when the instance information was last updated.
public InstanceSummary withLastUpdatedAt(Date lastUpdatedAt)
A timestamp that indicates when the instance information was last updated.
lastUpdatedAt - A timestamp that indicates when the instance information was last updated.public List<LifecycleEvent> getLifecycleEvents()
A list of lifecycle events for this instance.
public void setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
A list of lifecycle events for this instance.
lifecycleEvents - A list of lifecycle events for this instance.public InstanceSummary withLifecycleEvents(LifecycleEvent... lifecycleEvents)
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) or withLifecycleEvents(java.util.Collection) if you
want to override the existing values.
lifecycleEvents - A list of lifecycle events for this instance.public InstanceSummary withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
A list of lifecycle events for this instance.
lifecycleEvents - A list of lifecycle events for this instance.public void setInstanceType(String instanceType)
Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
instanceType - Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
InstanceTypepublic String getInstanceType()
Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
InstanceTypepublic InstanceSummary withInstanceType(String instanceType)
Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
instanceType - Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
InstanceTypepublic void setInstanceType(InstanceType instanceType)
Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
instanceType - Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
InstanceTypepublic InstanceSummary withInstanceType(InstanceType instanceType)
Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
instanceType - Information about which environment an instance belongs to in a blue/green deployment.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
InstanceTypepublic String toString()
toString in class ObjectObject.toString()public InstanceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.