public class RunScheduledInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RunScheduledInstancesRequest>
Contains the parameters for RunScheduledInstances.
NOOP
Constructor and Description |
---|
RunScheduledInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
RunScheduledInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that ensures the idempotency of the
request.
|
Request<RunScheduledInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getInstanceCount()
The number of instances.
|
ScheduledInstancesLaunchSpecification |
getLaunchSpecification()
The launch specification.
|
String |
getScheduledInstanceId()
The Scheduled Instance ID.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the
request.
|
void |
setInstanceCount(Integer instanceCount)
The number of instances.
|
void |
setLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification.
|
void |
setScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RunScheduledInstancesRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the
request.
|
RunScheduledInstancesRequest |
withInstanceCount(Integer instanceCount)
The number of instances.
|
RunScheduledInstancesRequest |
withLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification.
|
RunScheduledInstancesRequest |
withScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(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.public String getClientToken()
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
public RunScheduledInstancesRequest withClientToken(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.public void setInstanceCount(Integer instanceCount)
The number of instances.
Default: 1
instanceCount
- The number of instances.
Default: 1
public Integer getInstanceCount()
The number of instances.
Default: 1
Default: 1
public RunScheduledInstancesRequest withInstanceCount(Integer instanceCount)
The number of instances.
Default: 1
instanceCount
- The number of instances.
Default: 1
public void setScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
scheduledInstanceId
- The Scheduled Instance ID.public String getScheduledInstanceId()
The Scheduled Instance ID.
public RunScheduledInstancesRequest withScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
scheduledInstanceId
- The Scheduled Instance ID.public void setLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification.
launchSpecification
- The launch specification.public ScheduledInstancesLaunchSpecification getLaunchSpecification()
The launch specification.
public RunScheduledInstancesRequest withLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification)
The launch specification.
launchSpecification
- The launch specification.public Request<RunScheduledInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<RunScheduledInstancesRequest>
public String toString()
toString
in class Object
Object.toString()
public RunScheduledInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.