@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class TerminateInstanceRequest extends BmcRequest<Void>
Example: Click here to see how to use TerminateInstanceRequest.
Modifier and Type | Class and Description |
---|---|
static class |
TerminateInstanceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static TerminateInstanceRequest.Builder |
builder() |
String |
getIfMatch()
For optimistic concurrency control.
|
String |
getInstanceId()
The OCID of the instance.
|
Boolean |
getPreserveBootVolume()
Specifies whether to delete or preserve the boot volume when terminating an instance.
|
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
public static TerminateInstanceRequest.Builder builder()
public String getInstanceId()
The OCID of the instance.
public String getIfMatch()
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource’s current etag value.
public Boolean getPreserveBootVolume()
Specifies whether to delete or preserve the boot volume when terminating an instance. The default value is false.
Copyright © 2016–2021. All rights reserved.