public static interface RunScheduledInstancesRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<RunScheduledInstancesRequest.Builder,RunScheduledInstancesRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 dryRun(Boolean 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.
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.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 method 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRunScheduledInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.