Interface DescribeScheduledInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeScheduledInstancesResponse.Builder,DescribeScheduledInstancesResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeScheduledInstancesResponse.Builder,DescribeScheduledInstancesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeScheduledInstancesResponse
public static interface DescribeScheduledInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeScheduledInstancesResponse.Builder,DescribeScheduledInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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
-
nextToken
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.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceSet
DescribeScheduledInstancesResponse.Builder scheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
- Parameters:
scheduledInstanceSet
- Information about the Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceSet
DescribeScheduledInstancesResponse.Builder scheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
- Parameters:
scheduledInstanceSet
- Information about the Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceSet
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 viaScheduledInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#scheduledInstanceSet(List
.) - Parameters:
scheduledInstanceSet
- a consumer that will call methods onScheduledInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#scheduledInstanceSet(java.util.Collection
)
-
-