public static interface InstanceSummary.Builder extends CopyableBuilder<InstanceSummary.Builder,InstanceSummary>
| Modifier and Type | Method and Description |
|---|---|
InstanceSummary.Builder |
deploymentId(String deploymentId)
The deployment ID.
|
InstanceSummary.Builder |
instanceId(String instanceId)
The instance ID.
|
InstanceSummary.Builder |
instanceType(InstanceType instanceType)
Information about which environment an instance belongs to in a blue/green deployment.
|
InstanceSummary.Builder |
instanceType(String instanceType)
Information about which environment an instance belongs to in a blue/green deployment.
|
InstanceSummary.Builder |
lastUpdatedAt(Instant 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(Consumer<LifecycleEvent.Builder>... 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(InstanceStatus status)
The deployment status for this instance:
|
InstanceSummary.Builder |
status(String 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.
InstanceStatus,
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.
InstanceStatus,
InstanceStatusInstanceSummary.Builder lastUpdatedAt(Instant 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.
lifecycleEvents - A list of lifecycle events for this instance.InstanceSummary.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
A list of lifecycle events for this instance.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #lifecycleEvents(List) .lifecycleEvents - a consumer that will call methods on List.Builder #lifecycleEvents(List) 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.
InstanceType,
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.
InstanceType,
InstanceTypeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.