Tabnine Logo
DeleteVolumeRequest.setVolumeId
Code IndexAdd Tabnine to your IDE (free)

How to use
setVolumeId
method
in
com.amazonaws.services.ec2.model.DeleteVolumeRequest

Best Java code snippets using com.amazonaws.services.ec2.model.DeleteVolumeRequest.setVolumeId (Showing top 7 results out of 315)

origin: aws/aws-sdk-java

/**
 * Constructs a new DeleteVolumeRequest object. Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param volumeId
 *        The ID of the volume.
 */
public DeleteVolumeRequest(String volumeId) {
  setVolumeId(volumeId);
}
origin: aws/aws-sdk-java

/**
 * <p>
 * The ID of the volume.
 * </p>
 * 
 * @param volumeId
 *        The ID of the volume.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DeleteVolumeRequest withVolumeId(String volumeId) {
  setVolumeId(volumeId);
  return this;
}
origin: aws-amplify/aws-sdk-android

/**
 * Constructs a new DeleteVolumeRequest object.
 * Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param volumeId The ID of the volume.
 */
public DeleteVolumeRequest(String volumeId) {
  setVolumeId(volumeId);
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * Constructs a new DeleteVolumeRequest object. Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param volumeId
 *        The ID of the volume.
 */
public DeleteVolumeRequest(String volumeId) {
  setVolumeId(volumeId);
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * The ID of the volume.
 * </p>
 * 
 * @param volumeId
 *        The ID of the volume.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DeleteVolumeRequest withVolumeId(String volumeId) {
  setVolumeId(volumeId);
  return this;
}
origin: tmobile/pacbot

@Override
public FixResult executeFix(Map<String, String> issue, Map<String, Object> clientMap,
    Map<String, String> ruleParams) {
  String resourceId=issue.get(PacmanSdkConstants.RESOURCE_ID);
  try{
    DeleteVolumeRequest deleteVolumeRequest = new DeleteVolumeRequest();
    deleteVolumeRequest.setVolumeId(resourceId);
    AmazonEC2 ec2Client = (AmazonEC2) clientMap.get("client");
    ec2Client.deleteVolume(deleteVolumeRequest);
    return new FixResult(PacmanSdkConstants.STATUS_SUCCESS_CODE,"Volume " +issue.get(PacmanSdkConstants.RESOURCE_ID)+" is deleted.");
  }catch(Exception e){
    LOGGER.error(String.format("unable to delete volume  %s", issue.get(PacmanSdkConstants.RESOURCE_ID)));
    return new FixResult(PacmanSdkConstants.STATUS_FAILURE_CODE, "unable to delete volume");
  }
}
origin: org.kuali.common/kuali-aws

@Override
public String deleteVolume(String volumeId) {
  checkNotBlank(volumeId, "volumeId");
  DeleteVolumeRequest dvr = new DeleteVolumeRequest();
  dvr.setVolumeId(volumeId);
  // Don't bother with checking that the volume got deleted
  // Unless an exception is thrown, Amazon assures us that the volume will get nuked
  client.deleteVolume(dvr);
  return volumeId;
}
com.amazonaws.services.ec2.modelDeleteVolumeRequestsetVolumeId

Javadoc

The ID of the volume.

Popular methods of DeleteVolumeRequest

  • <init>
    Constructs a new DeleteVolumeRequest object. Callers should use the setter or fluent setter (with...
  • getVolumeId
    The ID of the volume.
  • withVolumeId
    The ID of the volume.

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Join (org.hibernate.mapping)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ 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