CopyableBuilder<InstanceSummary.Builder,InstanceSummary>, SdkBuilder<InstanceSummary.Builder,InstanceSummary>public static interface InstanceSummary.Builder extends CopyableBuilder<InstanceSummary.Builder,InstanceSummary>
| Modifier and Type | Method | Description |
|---|---|---|
InstanceSummary.Builder |
deploymentId(String deploymentId) |
The deployment ID.
|
InstanceSummary.Builder |
instanceId(String instanceId) |
The instance ID.
|
InstanceSummary.Builder |
instanceType(String instanceType) |
Information about which environment an instance belongs to in a blue/green deployment.
|
InstanceSummary.Builder |
instanceType(InstanceType instanceType) |
Information about which environment an instance belongs to in a blue/green deployment.
|
InstanceSummary.Builder |
lastUpdatedAt(Date lastUpdatedAt) |
A timestamp indicating when the instance information was last updated.
|
InstanceSummary.Builder |
lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents) |
A list of lifecycle events for this instance.
|
InstanceSummary.Builder |
lifecycleEvents(LifecycleEvent... lifecycleEvents) |
A list of lifecycle events for this instance.
|
InstanceSummary.Builder |
status(String status) |
The deployment status for this instance:
|
InstanceSummary.Builder |
status(InstanceStatus status) |
The deployment status for this instance:
|
copyapply, buildInstanceSummary.Builder deploymentId(String deploymentId)
The deployment ID.
deploymentId - The deployment ID.InstanceSummary.Builder instanceId(String instanceId)
The instance ID.
instanceId - The instance ID.InstanceSummary.Builder status(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.
InstanceStatusInstanceSummary.Builder status(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.
InstanceStatusInstanceSummary.Builder lastUpdatedAt(Date lastUpdatedAt)
A timestamp indicating when the instance information was last updated.
lastUpdatedAt - A timestamp indicating when the instance information was last updated.InstanceSummary.Builder lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
A list of lifecycle events for this instance.
lifecycleEvents - A list of lifecycle events for this instance.InstanceSummary.Builder lifecycleEvents(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.InstanceSummary.Builder instanceType(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.
InstanceTypeInstanceSummary.Builder instanceType(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.
InstanceTypeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.