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

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

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

origin: aws/aws-sdk-java

/**
 * <p>
 * The ID of the instance.
 * </p>
 * 
 * @param instanceId
 *        The ID of the instance.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DetachVolumeRequest withInstanceId(String instanceId) {
  setInstanceId(instanceId);
  return this;
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * The ID of the instance.
 * </p>
 * 
 * @param instanceId
 *        The ID of the instance.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DetachVolumeRequest withInstanceId(String instanceId) {
  setInstanceId(instanceId);
  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.modelDetachVolumeRequestsetInstanceId

Javadoc

The ID of the instance.

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.
  • setDevice
    The device name.
  • 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

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • getSystemService (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Github Copilot alternatives
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