CopyableBuilder<DescribeScheduledInstanceAvailabilityRequest.Builder,DescribeScheduledInstanceAvailabilityRequest>
, SdkBuilder<DescribeScheduledInstanceAvailabilityRequest.Builder,DescribeScheduledInstanceAvailabilityRequest>
public static interface DescribeScheduledInstanceAvailabilityRequest.Builder extends CopyableBuilder<DescribeScheduledInstanceAvailabilityRequest.Builder,DescribeScheduledInstanceAvailabilityRequest>
copy
apply, build
DescribeScheduledInstanceAvailabilityRequest.Builder filters(Collection<Filter> filters)
One or more filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
network-platform
- The network platform (EC2-Classic
or EC2-VPC
).
platform
- The platform (Linux/UNIX
or Windows
).
filters
- One or more filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
network-platform
- The network platform (EC2-Classic
or EC2-VPC
).
platform
- The platform (Linux/UNIX
or Windows
).
DescribeScheduledInstanceAvailabilityRequest.Builder filters(Filter... filters)
One or more filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
network-platform
- The network platform (EC2-Classic
or EC2-VPC
).
platform
- The platform (Linux/UNIX
or Windows
).
NOTE: This method appends the values to the existing list (if any). Use
#setFilters(java.util.Collection)
or #withFilters(java.util.Collection)
if you want to
override the existing values.
filters
- One or more filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
network-platform
- The network platform (EC2-Classic
or EC2-VPC
).
platform
- The platform (Linux/UNIX
or Windows
).
DescribeScheduledInstanceAvailabilityRequest.Builder firstSlotStartTimeRange(SlotDateTimeRangeRequest firstSlotStartTimeRange)
The time period for the first schedule to start.
firstSlotStartTimeRange
- The time period for the first schedule to start.DescribeScheduledInstanceAvailabilityRequest.Builder maxResults(Integer 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 NextToken
value.
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
NextToken
value.DescribeScheduledInstanceAvailabilityRequest.Builder maxSlotDurationInHours(Integer maxSlotDurationInHours)
The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours
and less than 1,720.
maxSlotDurationInHours
- The maximum available duration, in hours. This value must be greater than
MinSlotDurationInHours
and less than 1,720.DescribeScheduledInstanceAvailabilityRequest.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.
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.DescribeScheduledInstanceAvailabilityRequest.Builder nextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.DescribeScheduledInstanceAvailabilityRequest.Builder recurrence(ScheduledInstanceRecurrenceRequest recurrence)
The schedule recurrence.
recurrence
- The schedule recurrence.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.