public static interface DescribeScheduledInstancesRequest.Builder extends Ec2Request.Builder, CopyableBuilder<DescribeScheduledInstancesRequest.Builder,DescribeScheduledInstancesRequest>
build
overrideConfiguration
copy
applyMutation, build
DescribeScheduledInstancesRequest.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
).
DescribeScheduledInstancesRequest.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
).
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
).
DescribeScheduledInstancesRequest.Builder filters(Consumer<Filter.Builder>... 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
).
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribeScheduledInstancesRequest.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 100. 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 100. To retrieve the remaining results, make another call with the returned
NextToken
value.DescribeScheduledInstancesRequest.Builder nextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.DescribeScheduledInstancesRequest.Builder scheduledInstanceIds(Collection<String> scheduledInstanceIds)
One or more Scheduled Instance IDs.
scheduledInstanceIds
- One or more Scheduled Instance IDs.DescribeScheduledInstancesRequest.Builder scheduledInstanceIds(String... scheduledInstanceIds)
One or more Scheduled Instance IDs.
scheduledInstanceIds
- One or more Scheduled Instance IDs.DescribeScheduledInstancesRequest.Builder slotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
slotStartTimeRange
- The time period for the first schedule to start.default DescribeScheduledInstancesRequest.Builder slotStartTimeRange(Consumer<SlotStartTimeRangeRequest.Builder> slotStartTimeRange)
The time period for the first schedule to start.
This is a convenience that creates an instance of theSlotStartTimeRangeRequest.Builder
avoiding the
need to create one manually via SlotStartTimeRangeRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to slotStartTimeRange(SlotStartTimeRangeRequest)
.slotStartTimeRange
- a consumer that will call methods on SlotStartTimeRangeRequest.Builder
slotStartTimeRange(SlotStartTimeRangeRequest)
DescribeScheduledInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeScheduledInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.