@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.
|
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. If the instance's root device type is ebs
, or
EBS-backed, adding the Force
parameter to the StopInstances
API call disassociates the
OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also
delete the formerly-associated instance in EC2 after troubleshooting and replacing the OpsWorks Stacks instance
with a new one.
force
- Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or
EBS-backed, adding the Force
parameter to the StopInstances
API call
disassociates the OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks
Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and
replacing the OpsWorks Stacks instance with a new one.public Boolean getForce()
Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or
EBS-backed, adding the Force
parameter to the StopInstances
API call disassociates the
OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also
delete the formerly-associated instance in EC2 after troubleshooting and replacing the OpsWorks Stacks instance
with a new one.
ebs
,
or EBS-backed, adding the Force
parameter to the StopInstances
API call
disassociates the OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks
Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and
replacing the OpsWorks Stacks instance with a new one.public StopInstanceRequest withForce(Boolean force)
Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or
EBS-backed, adding the Force
parameter to the StopInstances
API call disassociates the
OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also
delete the formerly-associated instance in EC2 after troubleshooting and replacing the OpsWorks Stacks instance
with a new one.
force
- Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or
EBS-backed, adding the Force
parameter to the StopInstances
API call
disassociates the OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks
Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and
replacing the OpsWorks Stacks instance with a new one.public Boolean isForce()
Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or
EBS-backed, adding the Force
parameter to the StopInstances
API call disassociates the
OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also
delete the formerly-associated instance in EC2 after troubleshooting and replacing the OpsWorks Stacks instance
with a new one.
ebs
,
or EBS-backed, adding the Force
parameter to the StopInstances
API call
disassociates the OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks
Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and
replacing the OpsWorks Stacks instance with a new one.public String toString()
toString
in class Object
Object.toString()
public StopInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()