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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstanceStatusResponse.Builder
instanceStatuses(Collection<InstanceStatus> instanceStatuses)
Information about the status of the instances.DescribeInstanceStatusResponse.Builder
instanceStatuses(Consumer<InstanceStatus.Builder>... instanceStatuses)
Information about the status of the instances.DescribeInstanceStatusResponse.Builder
instanceStatuses(InstanceStatus... instanceStatuses)
Information about the status of the instances.DescribeInstanceStatusResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
DescribeInstanceStatusResponse.Builder instanceStatuses(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
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.Builder
avoiding the need to create one manually viaInstanceStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#instanceStatuses(List
.) - 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:
#instanceStatuses(java.util.Collection
)
-
nextToken
DescribeInstanceStatusResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
null
when 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 isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-