@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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 setLaunchSpecification(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.public ScheduledInstancesLaunchSpecification getLaunchSpecification()
The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.
public RunScheduledInstancesRequest withLaunchSpecification(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.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 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()