Interface InstanceStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceStatus.Builder,
,InstanceStatus> SdkBuilder<InstanceStatus.Builder,
,InstanceStatus> SdkPojo
- Enclosing class:
InstanceStatus
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone of the instance.events
(Collection<InstanceStatusEvent> events) Any scheduled events associated with the instance.events
(Consumer<InstanceStatusEvent.Builder>... events) Any scheduled events associated with the instance.events
(InstanceStatusEvent... events) Any scheduled events associated with the instance.instanceId
(String instanceId) The ID of the instance.default InstanceStatus.Builder
instanceState
(Consumer<InstanceState.Builder> instanceState) The intended state of the instance.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
(InstanceStatusSummary instanceStatus) Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.outpostArn
(String outpostArn) The Amazon Resource Name (ARN) of the Outpost.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
availabilityZone
The Availability Zone of the instance.
- Parameters:
availabilityZone
- The Availability Zone of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostArn
The Amazon Resource Name (ARN) of the Outpost.
- Parameters:
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Any scheduled events associated with the instance.
- Parameters:
events
- Any scheduled events associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Any scheduled events associated with the instance.
- Parameters:
events
- Any scheduled events associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Any scheduled events associated with the instance.
This is a convenience method that creates an instance of theInstanceStatusEvent.Builder
avoiding the need to create one manually viaInstanceStatusEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<InstanceStatusEvent>)
.- Parameters:
events
- a consumer that will call methods onInstanceStatusEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceState
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running
state.- Parameters:
instanceState
- The intended state of the instance. DescribeInstanceStatus requires that an instance be in therunning
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceState
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
This is a convenience method that creates an instance of therunning
state.InstanceState.Builder
avoiding the need to create one manually viaInstanceState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceState(InstanceState)
.- Parameters:
instanceState
- a consumer that will call methods onInstanceState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceStatus
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
- Parameters:
instanceStatus
- Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatus
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 method that creates an instance of theInstanceStatusSummary.Builder
avoiding the need to create one manually viaInstanceStatusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceStatus(InstanceStatusSummary)
.- Parameters:
instanceStatus
- a consumer that will call methods onInstanceStatusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
systemStatus
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
- Parameters:
systemStatus
- Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theInstanceStatusSummary.Builder
avoiding the need to create one manually viaInstanceStatusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosystemStatus(InstanceStatusSummary)
.- Parameters:
systemStatus
- a consumer that will call methods onInstanceStatusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-