Interface InstanceStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceStatus.Builder,InstanceStatus>,SdkBuilder<InstanceStatus.Builder,InstanceStatus>,SdkPojo
- Enclosing class:
- InstanceStatus
public static interface InstanceStatus.Builder extends SdkPojo, CopyableBuilder<InstanceStatus.Builder,InstanceStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstanceStatus.BuilderattachedEbsStatus(Consumer<EbsStatusSummary.Builder> attachedEbsStatus)Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.InstanceStatus.BuilderattachedEbsStatus(EbsStatusSummary attachedEbsStatus)Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.InstanceStatus.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the instance.InstanceStatus.Builderevents(Collection<InstanceStatusEvent> events)Any scheduled events associated with the instance.InstanceStatus.Builderevents(Consumer<InstanceStatusEvent.Builder>... events)Any scheduled events associated with the instance.InstanceStatus.Builderevents(InstanceStatusEvent... events)Any scheduled events associated with the instance.InstanceStatus.BuilderinstanceId(String instanceId)The ID of the instance.default InstanceStatus.BuilderinstanceState(Consumer<InstanceState.Builder> instanceState)The intended state of the instance.InstanceStatus.BuilderinstanceState(InstanceState instanceState)The intended state of the instance.default InstanceStatus.BuilderinstanceStatus(Consumer<InstanceStatusSummary.Builder> instanceStatus)Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.InstanceStatus.BuilderinstanceStatus(InstanceStatusSummary instanceStatus)Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.default InstanceStatus.Builderoperator(Consumer<OperatorResponse.Builder> operator)The service provider that manages the instance.InstanceStatus.Builderoperator(OperatorResponse operator)The service provider that manages the instance.InstanceStatus.BuilderoutpostArn(String outpostArn)The Amazon Resource Name (ARN) of the Outpost.default InstanceStatus.BuildersystemStatus(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.BuildersystemStatus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
availabilityZone
InstanceStatus.Builder availabilityZone(String 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
InstanceStatus.Builder outpostArn(String 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.
-
operator
InstanceStatus.Builder operator(OperatorResponse operator)
The service provider that manages the instance.
- Parameters:
operator- The service provider that manages the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
default InstanceStatus.Builder operator(Consumer<OperatorResponse.Builder> operator)
The service provider that manages the instance.
This is a convenience method that creates an instance of theOperatorResponse.Builderavoiding the need to create one manually viaOperatorResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperator(OperatorResponse).- Parameters:
operator- a consumer that will call methods onOperatorResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operator(OperatorResponse)
-
events
InstanceStatus.Builder events(Collection<InstanceStatusEvent> 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
InstanceStatus.Builder events(InstanceStatusEvent... 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
InstanceStatus.Builder events(Consumer<InstanceStatusEvent.Builder>... events)
Any scheduled events associated with the instance.
This is a convenience method that creates an instance of theInstanceStatusEvent.Builderavoiding the need to create one manually viaInstanceStatusEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - 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:
#events(java.util.Collection)
-
instanceId
InstanceStatus.Builder instanceId(String 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
InstanceStatus.Builder instanceState(InstanceState instanceState)
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
runningstate.- Parameters:
instanceState- The intended state of the instance. DescribeInstanceStatus requires that an instance be in therunningstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceState
default InstanceStatus.Builder instanceState(Consumer<InstanceState.Builder> 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 therunningstate.InstanceState.Builderavoiding the need to create one manually viaInstanceState.builder().When the
Consumercompletes,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:
instanceState(InstanceState)
-
instanceStatus
InstanceStatus.Builder instanceStatus(InstanceStatusSummary 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.Builderavoiding the need to create one manually viaInstanceStatusSummary.builder().When the
Consumercompletes,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:
instanceStatus(InstanceStatusSummary)
-
systemStatus
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.
- 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
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 method that creates an instance of theInstanceStatusSummary.Builderavoiding the need to create one manually viaInstanceStatusSummary.builder().When the
Consumercompletes,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:
systemStatus(InstanceStatusSummary)
-
attachedEbsStatus
InstanceStatus.Builder attachedEbsStatus(EbsStatusSummary attachedEbsStatus)
Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.
- Parameters:
attachedEbsStatus- Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedEbsStatus
default InstanceStatus.Builder attachedEbsStatus(Consumer<EbsStatusSummary.Builder> attachedEbsStatus)
Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.
This is a convenience method that creates an instance of theEbsStatusSummary.Builderavoiding the need to create one manually viaEbsStatusSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachedEbsStatus(EbsStatusSummary).- Parameters:
attachedEbsStatus- a consumer that will call methods onEbsStatusSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachedEbsStatus(EbsStatusSummary)
-
-