Tabnine Logo
DetachVolumeRequest.setDevice
Code IndexAdd Tabnine to your IDE (free)

How to use
setDevice
method
in
com.amazonaws.services.ec2.model.DetachVolumeRequest

Best Java code snippets using com.amazonaws.services.ec2.model.DetachVolumeRequest.setDevice (Showing top 3 results out of 315)

origin: aws/aws-sdk-java

/**
 * <p>
 * The device name.
 * </p>
 * 
 * @param device
 *        The device name.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DetachVolumeRequest withDevice(String device) {
  setDevice(device);
  return this;
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * The device name.
 * </p>
 * 
 * @param device
 *        The device name.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DetachVolumeRequest withDevice(String device) {
  setDevice(device);
  return this;
}
origin: org.kuali.common/kuali-aws

@Override
public String detachVolume(VolumeRequest request) {
  com.amazonaws.services.ec2.model.DetachVolumeRequest dvr = new com.amazonaws.services.ec2.model.DetachVolumeRequest();
  dvr.setInstanceId(request.getInstanceId());
  dvr.setVolumeId(request.getVolumeId());
  dvr.setDevice(request.getDevice());
  client.detachVolume(dvr);
  return waitForDetached(request.getVolumeId(), request.getTimeout());
}
com.amazonaws.services.ec2.modelDetachVolumeRequestsetDevice

Javadoc

The device name.

Popular methods of DetachVolumeRequest

  • <init>
    Constructs a new DetachVolumeRequest object. Callers should use the setter or fluent setter (with...
  • setVolumeId
    The ID of the volume.
  • getDevice
    The device name.
  • getInstanceId
    The ID of the instance.
  • getVolumeId
    The ID of the volume.
  • setInstanceId
    The ID of the instance.
  • getForce
    Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging in
  • isForce
    Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging in
  • setForce
    Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging in
  • withDevice
    The device name.
  • withForce
    Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging in
  • withInstanceId
    The ID of the instance.
  • withForce,
  • withInstanceId,
  • withVolumeId

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now