Interface DescribeScheduledInstanceAvailabilityRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<DescribeScheduledInstanceAvailabilityRequest.Builder,,- DescribeScheduledInstanceAvailabilityRequest> - Ec2Request.Builder,- SdkBuilder<DescribeScheduledInstanceAvailabilityRequest.Builder,,- DescribeScheduledInstanceAvailabilityRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- DescribeScheduledInstanceAvailabilityRequest
- 
Method SummaryModifier and TypeMethodDescriptionChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.filters(Collection<Filter> filters) The filters.filters(Consumer<Filter.Builder>... filters) The filters.The filters.firstSlotStartTimeRange(Consumer<SlotDateTimeRangeRequest.Builder> firstSlotStartTimeRange) The time period for the first schedule to start.firstSlotStartTimeRange(SlotDateTimeRangeRequest firstSlotStartTimeRange) The time period for the first schedule to start.maxResults(Integer maxResults) The maximum number of results to return in a single call.maxSlotDurationInHours(Integer maxSlotDurationInHours) The maximum available duration, in hours.minSlotDurationInHours(Integer minSlotDurationInHours) The minimum available duration, in hours.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recurrence(Consumer<ScheduledInstanceRecurrenceRequest.Builder> recurrence) The schedule recurrence.recurrence(ScheduledInstanceRecurrenceRequest recurrence) The schedule recurrence.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
dryRunChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
- dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is- DryRunOperation. Otherwise, it is- UnauthorizedOperation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersThe filters. - 
 availability-zone- The Availability Zone (for example,us-west-2a).
- 
 instance-type- The instance type (for example,c4.large).
- 
 platform- The platform (Linux/UNIXorWindows).
 - Parameters:
- filters- The filters.- 
        availability-zone- The Availability Zone (for example,us-west-2a).
- 
        instance-type- The instance type (for example,c4.large).
- 
        platform- The platform (Linux/UNIXorWindows).
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
filtersThe filters. - 
 availability-zone- The Availability Zone (for example,us-west-2a).
- 
 instance-type- The instance type (for example,c4.large).
- 
 platform- The platform (Linux/UNIXorWindows).
 - Parameters:
- filters- The filters.- 
        availability-zone- The Availability Zone (for example,us-west-2a).
- 
        instance-type- The instance type (for example,c4.large).
- 
        platform- The platform (Linux/UNIXorWindows).
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
filtersThe filters. - 
 availability-zone- The Availability Zone (for example,us-west-2a).
- 
 instance-type- The instance type (for example,c4.large).
- 
 platform- The platform (Linux/UNIXorWindows).
 Filter.Builderavoiding the need to create one manually viaFilter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
- filters- a consumer that will call methods on- Filter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
firstSlotStartTimeRangeDescribeScheduledInstanceAvailabilityRequest.Builder firstSlotStartTimeRange(SlotDateTimeRangeRequest firstSlotStartTimeRange) The time period for the first schedule to start. - Parameters:
- firstSlotStartTimeRange- The time period for the first schedule to start.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
firstSlotStartTimeRangedefault DescribeScheduledInstanceAvailabilityRequest.Builder firstSlotStartTimeRange(Consumer<SlotDateTimeRangeRequest.Builder> firstSlotStartTimeRange) The time period for the first schedule to start. This is a convenience method that creates an instance of theSlotDateTimeRangeRequest.Builderavoiding the need to create one manually viaSlotDateTimeRangeRequest.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofirstSlotStartTimeRange(SlotDateTimeRangeRequest).- Parameters:
- firstSlotStartTimeRange- a consumer that will call methods on- SlotDateTimeRangeRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
maxResultsThe maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 300. To retrieve the remaining results, make another call with the returned NextTokenvalue.- Parameters:
- maxResults- The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 300. To retrieve the remaining results, make another call with the returned- NextTokenvalue.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxSlotDurationInHoursDescribeScheduledInstanceAvailabilityRequest.Builder maxSlotDurationInHours(Integer maxSlotDurationInHours) The maximum available duration, in hours. This value must be greater than MinSlotDurationInHoursand less than 1,720.- Parameters:
- maxSlotDurationInHours- The maximum available duration, in hours. This value must be greater than- MinSlotDurationInHoursand less than 1,720.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
minSlotDurationInHoursDescribeScheduledInstanceAvailabilityRequest.Builder minSlotDurationInHours(Integer minSlotDurationInHours) The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours. - Parameters:
- minSlotDurationInHours- The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenThe token for the next set of results. - Parameters:
- nextToken- The token for the next set of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
recurrenceDescribeScheduledInstanceAvailabilityRequest.Builder recurrence(ScheduledInstanceRecurrenceRequest recurrence) The schedule recurrence. - Parameters:
- recurrence- The schedule recurrence.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
recurrencedefault DescribeScheduledInstanceAvailabilityRequest.Builder recurrence(Consumer<ScheduledInstanceRecurrenceRequest.Builder> recurrence) The schedule recurrence. This is a convenience method that creates an instance of theScheduledInstanceRecurrenceRequest.Builderavoiding the need to create one manually viaScheduledInstanceRecurrenceRequest.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecurrence(ScheduledInstanceRecurrenceRequest).- Parameters:
- recurrence- a consumer that will call methods on- ScheduledInstanceRecurrenceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationDescribeScheduledInstanceAvailabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationDescribeScheduledInstanceAvailabilityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-