Interface DescribeInstanceStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInstanceStatusResponse.Builder,,DescribeInstanceStatusResponse> Ec2Response.Builder,SdkBuilder<DescribeInstanceStatusResponse.Builder,,DescribeInstanceStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeInstanceStatusResponse
public static interface DescribeInstanceStatusResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceStatusResponse.Builder,DescribeInstanceStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceStatuses(Collection<InstanceStatus> instanceStatuses) Information about the status of the instances.instanceStatuses(Consumer<InstanceStatus.Builder>... instanceStatuses) Information about the status of the instances.instanceStatuses(InstanceStatus... instanceStatuses) Information about the status of the instances.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceStatuses
DescribeInstanceStatusResponse.Builder instanceStatuses(Collection<InstanceStatus> instanceStatuses) Information about the status of the instances.
- Parameters:
instanceStatuses- Information about the status of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatuses
Information about the status of the instances.
- Parameters:
instanceStatuses- Information about the status of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatuses
DescribeInstanceStatusResponse.Builder instanceStatuses(Consumer<InstanceStatus.Builder>... instanceStatuses) Information about the status of the instances.
This is a convenience method that creates an instance of theInstanceStatus.Builderavoiding the need to create one manually viaInstanceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceStatuses(List<InstanceStatus>).- Parameters:
instanceStatuses- a consumer that will call methods onInstanceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-