public class RunScheduledInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<RunScheduledInstancesRequest>
RunScheduledInstances operation.
 Launches the specified Scheduled Instances.
Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier using PurchaseScheduledInstances.
You must launch a Scheduled Instance during its scheduled time period. You can't stop or reboot a Scheduled Instance, but you can terminate it as needed. If you terminate a Scheduled Instance before the current scheduled time period ends, you can launch it again after a few minutes. For more information, see Scheduled Instances in the Amazon Elastic Compute Cloud User Guide .
| Constructor and Description | 
|---|
RunScheduledInstancesRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.lang.String | 
getClientToken()
Unique, case-sensitive identifier that ensures the idempotency of the
 request. 
 | 
Request<RunScheduledInstancesRequest> | 
getDryRunRequest()
This method is intended for internal use only. 
 | 
java.lang.Integer | 
getInstanceCount()
The number of instances. 
 | 
ScheduledInstancesLaunchSpecification | 
getLaunchSpecification()
The launch specification. 
 | 
java.lang.String | 
getScheduledInstanceId()
The Scheduled Instance ID. 
 | 
int | 
hashCode()  | 
void | 
setClientToken(java.lang.String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the
 request. 
 | 
void | 
setInstanceCount(java.lang.Integer instanceCount)
The number of instances. 
 | 
void | 
setLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification. 
 | 
void | 
setScheduledInstanceId(java.lang.String scheduledInstanceId)
The Scheduled Instance ID. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
RunScheduledInstancesRequest | 
withClientToken(java.lang.String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the
 request. 
 | 
RunScheduledInstancesRequest | 
withInstanceCount(java.lang.Integer instanceCount)
The number of instances. 
 | 
RunScheduledInstancesRequest | 
withLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification. 
 | 
RunScheduledInstancesRequest | 
withScheduledInstanceId(java.lang.String scheduledInstanceId)
The Scheduled Instance ID. 
 | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getClientToken()
public void setClientToken(java.lang.String clientToken)
clientToken - Unique, case-sensitive identifier that ensures the idempotency of the
         request. For more information, see Ensuring
         Idempotency.public RunScheduledInstancesRequest withClientToken(java.lang.String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken - Unique, case-sensitive identifier that ensures the idempotency of the
         request. For more information, see Ensuring
         Idempotency.public java.lang.Integer getInstanceCount()
Default: 1
Default: 1
public void setInstanceCount(java.lang.Integer instanceCount)
Default: 1
instanceCount - The number of instances. Default: 1
public RunScheduledInstancesRequest withInstanceCount(java.lang.Integer instanceCount)
Default: 1
Returns a reference to this object so that method calls can be chained together.
instanceCount - The number of instances. Default: 1
public java.lang.String getScheduledInstanceId()
public void setScheduledInstanceId(java.lang.String scheduledInstanceId)
scheduledInstanceId - The Scheduled Instance ID.public RunScheduledInstancesRequest withScheduledInstanceId(java.lang.String scheduledInstanceId)
Returns a reference to this object so that method calls can be chained together.
scheduledInstanceId - The Scheduled Instance ID.public ScheduledInstancesLaunchSpecification getLaunchSpecification()
public void setLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
launchSpecification - The launch specification.public RunScheduledInstancesRequest withLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
Returns a reference to this object so that method calls can be chained together.
launchSpecification - The launch specification.public Request<RunScheduledInstancesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<RunScheduledInstancesRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.