StructuredPojo
, ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>
@Generated("software.amazon.awssdk:codegen") public class InstanceSummary extends Object implements StructuredPojo, ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>
Information about an instance in a deployment.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InstanceSummary.Builder |
Modifier and Type | Method | 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) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InstanceSummary.Builder> |
serializableBuilderClass() |
|
String |
status() |
The deployment status for this instance:
|
InstanceSummary.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
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.
InstanceStatus
public 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.
InstanceType
public InstanceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceSummary.Builder,InstanceSummary>
public static InstanceSummary.Builder builder()
public static Class<? extends InstanceSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.