@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<StartInstancesRequest>
NOOP
Constructor and Description |
---|
StartInstancesRequest()
Default constructor for StartInstancesRequest object.
|
StartInstancesRequest(List<String> instanceIds)
Constructs a new StartInstancesRequest object.
|
Modifier and Type | Method and Description |
---|---|
StartInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAdditionalInfo()
Reserved.
|
Request<StartInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getInstanceIds()
The IDs of the instances.
|
int |
hashCode() |
void |
setAdditionalInfo(String additionalInfo)
Reserved.
|
void |
setInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
String |
toString()
Returns a string representation of this object.
|
StartInstancesRequest |
withAdditionalInfo(String additionalInfo)
Reserved.
|
StartInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
StartInstancesRequest |
withInstanceIds(String... instanceIds)
The IDs of the instances.
|
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 StartInstancesRequest()
public List<String> getInstanceIds()
The IDs of the instances.
public void setInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
instanceIds
- The IDs of the instances.public StartInstancesRequest withInstanceIds(String... instanceIds)
The IDs of the instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The IDs of the instances.public StartInstancesRequest withInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
instanceIds
- The IDs of the instances.public void setAdditionalInfo(String additionalInfo)
Reserved.
additionalInfo
- Reserved.public String getAdditionalInfo()
Reserved.
public StartInstancesRequest withAdditionalInfo(String additionalInfo)
Reserved.
additionalInfo
- Reserved.public Request<StartInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<StartInstancesRequest>
public String toString()
toString
in class Object
Object.toString()
public StartInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()