public static interface RunScheduledInstancesRequest.Builder extends EC2Request.Builder, CopyableBuilder<RunScheduledInstancesRequest.Builder,RunScheduledInstancesRequest>
buildrequestOverrideConfigcopyapply, buildRunScheduledInstancesRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
clientToken - Unique, case-sensitive identifier that ensures the idempotency of the request. For more information,
see Ensuring
Idempotency.RunScheduledInstancesRequest.Builder instanceCount(Integer instanceCount)
The number of instances.
Default: 1
instanceCount - The number of instances.
Default: 1
RunScheduledInstancesRequest.Builder launchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.
launchSpecification - The launch specification. You must match the instance type, Availability Zone, network, and platform
of the schedule that you purchased.default RunScheduledInstancesRequest.Builder launchSpecification(Consumer<ScheduledInstancesLaunchSpecification.Builder> launchSpecification)
The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.
This is a convenience that creates an instance of theScheduledInstancesLaunchSpecification.Builder
avoiding the need to create one manually via ScheduledInstancesLaunchSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to launchSpecification(ScheduledInstancesLaunchSpecification).launchSpecification - a consumer that will call methods on ScheduledInstancesLaunchSpecification.BuilderlaunchSpecification(ScheduledInstancesLaunchSpecification)RunScheduledInstancesRequest.Builder scheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
scheduledInstanceId - The Scheduled Instance ID.RunScheduledInstancesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.RunScheduledInstancesRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.