Interface DescribeInstanceRefreshesResponse.Builder
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstanceRefreshesResponse.Builder,
,DescribeInstanceRefreshesResponse> SdkBuilder<DescribeInstanceRefreshesResponse.Builder,
,DescribeInstanceRefreshesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInstanceRefreshesResponse
public static interface DescribeInstanceRefreshesResponse.Builder
extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstanceRefreshesResponse.Builder,DescribeInstanceRefreshesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceRefreshes
(Collection<InstanceRefresh> instanceRefreshes) The instance refreshes for the specified group, sorted by creation timestamp in descending order.instanceRefreshes
(Consumer<InstanceRefresh.Builder>... instanceRefreshes) The instance refreshes for the specified group, sorted by creation timestamp in descending order.instanceRefreshes
(InstanceRefresh... instanceRefreshes) The instance refreshes for the specified group, sorted by creation timestamp in descending order.A string that indicates that the response contains more items than can be returned in a single response.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceRefreshes
DescribeInstanceRefreshesResponse.Builder instanceRefreshes(Collection<InstanceRefresh> instanceRefreshes) The instance refreshes for the specified group, sorted by creation timestamp in descending order.
- Parameters:
instanceRefreshes
- The instance refreshes for the specified group, sorted by creation timestamp in descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRefreshes
The instance refreshes for the specified group, sorted by creation timestamp in descending order.
- Parameters:
instanceRefreshes
- The instance refreshes for the specified group, sorted by creation timestamp in descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRefreshes
DescribeInstanceRefreshesResponse.Builder instanceRefreshes(Consumer<InstanceRefresh.Builder>... instanceRefreshes) The instance refreshes for the specified group, sorted by creation timestamp in descending order.
This is a convenience method that creates an instance of theInstanceRefresh.Builder
avoiding the need to create one manually viaInstanceRefresh.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceRefreshes(List<InstanceRefresh>)
.- Parameters:
instanceRefreshes
- a consumer that will call methods onInstanceRefresh.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the
NextToken
value when requesting the next set of items. This value is null when there are no more items to return.- Parameters:
nextToken
- A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for theNextToken
value when requesting the next set of items. This value is null when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-