Class RunScheduledInstancesRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<RunScheduledInstancesRequest>
,Serializable
,Cloneable
Contains the parameters for RunScheduledInstances.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Unique, case-sensitive identifier that ensures the idempotency of the request.This method is intended for internal use only.The number of instances.The launch specification.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.toString()
Returns a string representation of this object; useful for testing and debugging.withClientToken
(String clientToken) Unique, case-sensitive identifier that ensures the idempotency of the request.withInstanceCount
(Integer instanceCount) The number of instances.withLaunchSpecification
(ScheduledInstancesLaunchSpecification launchSpecification) The launch specification.withScheduledInstanceId
(String scheduledInstanceId) The Scheduled Instance ID.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
RunScheduledInstancesRequest
public RunScheduledInstancesRequest()
-
-
Method Details
-
setClientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
-
getClientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
- Returns:
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
-
withClientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceCount
The number of instances.
Default: 1
- Parameters:
instanceCount
- The number of instances.Default: 1
-
getInstanceCount
The number of instances.
Default: 1
- Returns:
- The number of instances.
Default: 1
-
withInstanceCount
The number of instances.
Default: 1
- Parameters:
instanceCount
- The number of instances.Default: 1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheduledInstanceId
The Scheduled Instance ID.
- Parameters:
scheduledInstanceId
- The Scheduled Instance ID.
-
getScheduledInstanceId
The Scheduled Instance ID.
- Returns:
- The Scheduled Instance ID.
-
withScheduledInstanceId
The Scheduled Instance ID.
- Parameters:
scheduledInstanceId
- The Scheduled Instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLaunchSpecification
The launch specification.
- Parameters:
launchSpecification
- The launch specification.
-
getLaunchSpecification
The launch specification.
- Returns:
- The launch specification.
-
withLaunchSpecification
public RunScheduledInstancesRequest withLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification) The launch specification.
- Parameters:
launchSpecification
- The launch specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<RunScheduledInstancesRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-