Interface DescribeScheduledInstanceAvailabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeScheduledInstanceAvailabilityResponse.Builder,,DescribeScheduledInstanceAvailabilityResponse> Ec2Response.Builder,SdkBuilder<DescribeScheduledInstanceAvailabilityResponse.Builder,,DescribeScheduledInstanceAvailabilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeScheduledInstanceAvailabilityResponse
public static interface DescribeScheduledInstanceAvailabilityResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeScheduledInstanceAvailabilityResponse.Builder,DescribeScheduledInstanceAvailabilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token required to retrieve the next set of results.scheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.scheduledInstanceAvailabilitySet(Consumer<ScheduledInstanceAvailability.Builder>... scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.scheduledInstanceAvailabilitySet(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token required to retrieve the next set of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceAvailabilitySet
DescribeScheduledInstanceAvailabilityResponse.Builder scheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.
- Parameters:
scheduledInstanceAvailabilitySet- Information about the available Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceAvailabilitySet
DescribeScheduledInstanceAvailabilityResponse.Builder scheduledInstanceAvailabilitySet(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.
- Parameters:
scheduledInstanceAvailabilitySet- Information about the available Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceAvailabilitySet
DescribeScheduledInstanceAvailabilityResponse.Builder scheduledInstanceAvailabilitySet(Consumer<ScheduledInstanceAvailability.Builder>... scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.
This is a convenience method that creates an instance of theScheduledInstanceAvailability.Builderavoiding the need to create one manually viaScheduledInstanceAvailability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledInstanceAvailabilitySet(List<ScheduledInstanceAvailability>).- Parameters:
scheduledInstanceAvailabilitySet- a consumer that will call methods onScheduledInstanceAvailability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-