public static interface DescribeScheduledInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, 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, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
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 method that creates an instance of theScheduledInstance.Builder
avoiding the need to create one
manually via ScheduledInstance.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #scheduledInstanceSet(List
.
scheduledInstanceSet
- a consumer that will call methods on
ScheduledInstance.Builder
#scheduledInstanceSet(java.util.Collection)
Copyright © 2023. All rights reserved.