@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()
When set to
True, forces a Lightsail instance that is stuck in a stopping state to
stop. |
String |
getInstanceName()
The name of the instance (a virtual private server) to stop.
|
int |
hashCode() |
Boolean |
isForce()
When set to
True, forces a Lightsail instance that is stuck in a stopping state to
stop. |
void |
setForce(Boolean force)
When set to
True, forces a Lightsail instance that is stuck in a stopping state to
stop. |
void |
setInstanceName(String instanceName)
The name of the instance (a virtual private server) to stop.
|
String |
toString()
Returns a string representation of this object.
|
StopInstanceRequest |
withForce(Boolean force)
When set to
True, forces a Lightsail instance that is stuck in a stopping state to
stop. |
StopInstanceRequest |
withInstanceName(String instanceName)
The name of the instance (a virtual private server) to stop.
|
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, withSdkRequestTimeoutpublic void setInstanceName(String instanceName)
The name of the instance (a virtual private server) to stop.
instanceName - The name of the instance (a virtual private server) to stop.public String getInstanceName()
The name of the instance (a virtual private server) to stop.
public StopInstanceRequest withInstanceName(String instanceName)
The name of the instance (a virtual private server) to stop.
instanceName - The name of the instance (a virtual private server) to stop.public void setForce(Boolean force)
When set to True, forces a Lightsail instance that is stuck in a stopping state to
stop.
Only use the force parameter if your instance is stuck in the stopping state. In any
other state, your instance should stop normally without adding this parameter to your API request.
force - When set to True, forces a Lightsail instance that is stuck in a stopping state
to stop.
Only use the force parameter if your instance is stuck in the stopping state. In
any other state, your instance should stop normally without adding this parameter to your API request.
public Boolean getForce()
When set to True, forces a Lightsail instance that is stuck in a stopping state to
stop.
Only use the force parameter if your instance is stuck in the stopping state. In any
other state, your instance should stop normally without adding this parameter to your API request.
True, forces a Lightsail instance that is stuck in a stopping state
to stop.
Only use the force parameter if your instance is stuck in the stopping state.
In any other state, your instance should stop normally without adding this parameter to your API request.
public StopInstanceRequest withForce(Boolean force)
When set to True, forces a Lightsail instance that is stuck in a stopping state to
stop.
Only use the force parameter if your instance is stuck in the stopping state. In any
other state, your instance should stop normally without adding this parameter to your API request.
force - When set to True, forces a Lightsail instance that is stuck in a stopping state
to stop.
Only use the force parameter if your instance is stuck in the stopping state. In
any other state, your instance should stop normally without adding this parameter to your API request.
public Boolean isForce()
When set to True, forces a Lightsail instance that is stuck in a stopping state to
stop.
Only use the force parameter if your instance is stuck in the stopping state. In any
other state, your instance should stop normally without adding this parameter to your API request.
True, forces a Lightsail instance that is stuck in a stopping state
to stop.
Only use the force parameter if your instance is stuck in the stopping state.
In any other state, your instance should stop normally without adding this parameter to your API request.
public String toString()
toString in class ObjectObject.toString()public StopInstanceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()