@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<StartInstancesRequest>
Contains the parameters for StartInstances.
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()
One or more instance IDs.
|
int |
hashCode() |
void |
setAdditionalInfo(String additionalInfo)
Reserved.
|
void |
setInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartInstancesRequest |
withAdditionalInfo(String additionalInfo)
Reserved.
|
StartInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
StartInstancesRequest |
withInstanceIds(String... instanceIds)
One or more instance IDs.
|
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()
One or more instance IDs.
public void setInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.public StartInstancesRequest withInstanceIds(String... instanceIds)
One or more instance IDs.
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
- One or more instance IDs.public StartInstancesRequest withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.