@Generated(value="software.amazon.awssdk:codegen") public final class RunScheduledInstancesRequest extends Ec2Request implements ToCopyableBuilder<RunScheduledInstancesRequest.Builder,RunScheduledInstancesRequest>
Contains the parameters for RunScheduledInstances.
Modifier and Type | Class and Description |
---|---|
static interface |
RunScheduledInstancesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static RunScheduledInstancesRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier that ensures the idempotency of the request.
|
Boolean |
dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of instances.
|
ScheduledInstancesLaunchSpecification |
launchSpecification()
The launch specification.
|
String |
scheduledInstanceId()
The Scheduled Instance ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RunScheduledInstancesRequest.Builder> |
serializableBuilderClass() |
RunScheduledInstancesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String clientToken()
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
public final 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
.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.public final Integer instanceCount()
The number of instances.
Default: 1
Default: 1
public final ScheduledInstancesLaunchSpecification launchSpecification()
The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.
public final String scheduledInstanceId()
The Scheduled Instance ID.
public RunScheduledInstancesRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<RunScheduledInstancesRequest.Builder,RunScheduledInstancesRequest>
toBuilder
in class Ec2Request
public static RunScheduledInstancesRequest.Builder builder()
public static Class<? extends RunScheduledInstancesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.