Java com.amazonaws.services.ec2.model DetachVolumeRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model DetachVolumeRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model DetachVolumeRequest.

The text is from its open source code.

Constructor

DetachVolumeRequest()
Default constructor for DetachVolumeRequest object.
DetachVolumeRequest(String volumeId)
Constructs a new DetachVolumeRequest object.

Method

StringgetDevice()

The device name.

StringgetInstanceId()

The ID of the instance.

StringgetVolumeId()

The ID of the volume.

BooleanisForce()

Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally).

voidsetDevice(String device)

The device name.

voidsetForce(Boolean force)

Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally).

voidsetInstanceId(String instanceId)

The ID of the instance.

voidsetVolumeId(String volumeId)

The ID of the volume.

DetachVolumeRequestwithDevice(String device)

The device name.

DetachVolumeRequestwithInstanceId(String instanceId)

The ID of the instance.

DetachVolumeRequestwithVolumeId(String volumeId)

The ID of the volume.