public static interface InstanceStatus.Builder extends CopyableBuilder<InstanceStatus.Builder,InstanceStatus>
| Modifier and Type | Method and Description |
|---|---|
InstanceStatus.Builder |
availabilityZone(String availabilityZone)
The Availability Zone of the instance.
|
InstanceStatus.Builder |
events(Collection<InstanceStatusEvent> events)
Any scheduled events associated with the instance.
|
InstanceStatus.Builder |
events(Consumer<InstanceStatusEvent.Builder>... events)
Any scheduled events associated with the instance.
|
InstanceStatus.Builder |
events(InstanceStatusEvent... events)
Any scheduled events associated with the instance.
|
InstanceStatus.Builder |
instanceId(String instanceId)
The ID of the instance.
|
default InstanceStatus.Builder |
instanceState(Consumer<InstanceState.Builder> instanceState)
The intended state of the instance.
|
InstanceStatus.Builder |
instanceState(InstanceState instanceState)
The intended state of the instance.
|
default InstanceStatus.Builder |
instanceStatus(Consumer<InstanceStatusSummary.Builder> instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired
reachability.
|
InstanceStatus.Builder |
instanceStatus(InstanceStatusSummary instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired
reachability.
|
default InstanceStatus.Builder |
systemStatus(Consumer<InstanceStatusSummary.Builder> systemStatus)
Reports impaired functionality that stems from issues related to the systems that support an instance, such
as hardware failures and network connectivity problems.
|
InstanceStatus.Builder |
systemStatus(InstanceStatusSummary systemStatus)
Reports impaired functionality that stems from issues related to the systems that support an instance, such
as hardware failures and network connectivity problems.
|
copyapply, buildInstanceStatus.Builder availabilityZone(String availabilityZone)
The Availability Zone of the instance.
availabilityZone - The Availability Zone of the instance.InstanceStatus.Builder events(Collection<InstanceStatusEvent> events)
Any scheduled events associated with the instance.
events - Any scheduled events associated with the instance.InstanceStatus.Builder events(InstanceStatusEvent... events)
Any scheduled events associated with the instance.
events - Any scheduled events associated with the instance.InstanceStatus.Builder events(Consumer<InstanceStatusEvent.Builder>... events)
Any scheduled events associated with the 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 #events(List) .events - a consumer that will call methods on List.Builder #events(List) InstanceStatus.Builder instanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.InstanceStatus.Builder instanceState(InstanceState instanceState)
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running state.
instanceState - The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running state.default InstanceStatus.Builder instanceState(Consumer<InstanceState.Builder> instanceState)
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running state.
InstanceState.Builder avoiding the need to
create one manually via InstanceState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to instanceState(InstanceState).instanceState - a consumer that will call methods on InstanceState.BuilderinstanceState(InstanceState)InstanceStatus.Builder instanceStatus(InstanceStatusSummary instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
instanceStatus - Reports impaired functionality that stems from issues internal to the instance, such as impaired
reachability.default InstanceStatus.Builder instanceStatus(Consumer<InstanceStatusSummary.Builder> instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
This is a convenience that creates an instance of theInstanceStatusSummary.Builder avoiding the need
to create one manually via InstanceStatusSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to instanceStatus(InstanceStatusSummary).instanceStatus - a consumer that will call methods on InstanceStatusSummary.BuilderinstanceStatus(InstanceStatusSummary)InstanceStatus.Builder systemStatus(InstanceStatusSummary systemStatus)
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
systemStatus - Reports impaired functionality that stems from issues related to the systems that support an instance,
such as hardware failures and network connectivity problems.default InstanceStatus.Builder systemStatus(Consumer<InstanceStatusSummary.Builder> systemStatus)
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
This is a convenience that creates an instance of theInstanceStatusSummary.Builder avoiding the need
to create one manually via InstanceStatusSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to systemStatus(InstanceStatusSummary).systemStatus - a consumer that will call methods on InstanceStatusSummary.BuildersystemStatus(InstanceStatusSummary)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.