@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StopInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
StopInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getForce()
Specifies whether to force an instance to stop.
|
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
Boolean |
isForce()
Specifies whether to force an instance to stop.
|
void |
setForce(Boolean force)
Specifies whether to force an instance to stop.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StopInstanceRequest |
withForce(Boolean force)
Specifies whether to force an instance to stop.
|
StopInstanceRequest |
withInstanceId(String instanceId)
The 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 setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public StopInstanceRequest withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setForce(Boolean force)
Specifies whether to force an instance to stop.
force
- Specifies whether to force an instance to stop.public Boolean getForce()
Specifies whether to force an instance to stop.
public StopInstanceRequest withForce(Boolean force)
Specifies whether to force an instance to stop.
force
- Specifies whether to force an instance to stop.public Boolean isForce()
Specifies whether to force an instance to stop.
public String toString()
toString
in class Object
Object.toString()
public StopInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.