public static interface DescribeScheduledInstancesResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeScheduledInstancesResponse.Builder,DescribeScheduledInstancesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeScheduledInstancesResponse.Builder |
nextToken(String nextToken)
The token required to retrieve the next set of results.
|
DescribeScheduledInstancesResponse.Builder |
scheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
|
DescribeScheduledInstancesResponse.Builder |
scheduledInstanceSet(Consumer<ScheduledInstance.Builder>... scheduledInstanceSet)
Information about the Scheduled Instances.
|
DescribeScheduledInstancesResponse.Builder |
scheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeScheduledInstancesResponse.Builder nextToken(String nextToken)
The token required to retrieve the next set of results. This value is null
when there are no
more results to return.
nextToken
- The token required to retrieve the next set of results. This value is null
when there are
no more results to return.DescribeScheduledInstancesResponse.Builder scheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.DescribeScheduledInstancesResponse.Builder scheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.DescribeScheduledInstancesResponse.Builder scheduledInstanceSet(Consumer<ScheduledInstance.Builder>... scheduledInstanceSet)
Information about the Scheduled Instances.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #scheduledInstanceSet(List)
.scheduledInstanceSet
- a consumer that will call methods on List.Builder
#scheduledInstanceSet(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.