@Generated(value="software.amazon.awssdk:codegen") public class InstanceSummary extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>
Information about an instance in a deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceSummary.Builder |
builder() |
String |
deploymentId()
The deployment ID.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
instanceId()
The instance ID.
|
String |
instanceType()
Information about which environment an instance belongs to in a blue/green deployment.
|
Date |
lastUpdatedAt()
A timestamp indicating when the instance information was last updated.
|
List<LifecycleEvent> |
lifecycleEvents()
A list of lifecycle events for this instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends InstanceSummary.Builder> |
serializableBuilderClass() |
String |
status()
The deployment status for this instance:
|
InstanceSummary.Builder |
toBuilder() |
String |
toString() |
public String deploymentId()
The deployment ID.
public String instanceId()
The instance ID.
public 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.
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 Date lastUpdatedAt()
A timestamp indicating when the instance information was last updated.
public List<LifecycleEvent> lifecycleEvents()
A list of lifecycle events for this instance.
public 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.
BLUE: The instance is part of the original environment.
GREEN: The instance is part of the replacement environment.
InstanceTypepublic InstanceSummary.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>public static InstanceSummary.Builder builder()
public static Class<? extends InstanceSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.