congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StorageBucket.setName
Code IndexAdd Tabnine to your IDE (free)

How to use
setName
method
in
org.jets3t.service.model.StorageBucket

Best Java code snippets using org.jets3t.service.model.StorageBucket.setName (Showing top 4 results out of 315)

origin: net.java.dev.jets3t/jets3t

  @Override
  public void endElement(String name, String elementText) {
    // Listing details.
    if (name.equals("ID")) {
      bucketsOwner.setId(elementText);
    } else if (name.equals("DisplayName")) {
      bucketsOwner.setDisplayName(elementText);
    }
    // Bucket item details.
    else if (name.equals("Bucket")) {
      if (log.isDebugEnabled()) {
        log.debug("Created new bucket from listing: " + currentBucket);
      }
      currentBucket.setOwner(bucketsOwner);
      buckets.add(currentBucket);
    } else if (name.equals("Name")) {
      currentBucket.setName(elementText);
    } else if (name.equals("CreationDate")) {
      elementText += ".000Z";
      try {
        currentBucket.setCreationDate(ServiceUtils.parseIso8601Date(elementText));
      } catch (ParseException e) {
        throw new RuntimeException(
          "Non-ISO8601 date for CreationDate in list buckets output: "
          + elementText, e);
      }
    }
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

  @Override
  public void endElement(String name, String elementText) {
    // Listing details.
    if (name.equals("ID")) {
      bucketsOwner.setId(elementText);
    } else if (name.equals("DisplayName")) {
      bucketsOwner.setDisplayName(elementText);
    }
    // Bucket item details.
    else if (name.equals("Bucket")) {
      if (log.isDebugEnabled()) {
        log.debug("Created new bucket from listing: " + currentBucket);
      }
      currentBucket.setOwner(bucketsOwner);
      buckets.add(currentBucket);
    } else if (name.equals("Name")) {
      currentBucket.setName(elementText);
    } else if (name.equals("CreationDate")) {
      elementText += ".000Z";
      try {
        currentBucket.setCreationDate(ServiceUtils.parseIso8601Date(elementText));
      } catch (ParseException e) {
        throw new RuntimeException(
          "Non-ISO8601 date for CreationDate in list buckets output: "
          + elementText, e);
      }
    }
  }
}
origin: net.java.dev.jets3t/jets3t

bucket.setName(bucketName);
bucket.setLocation(location);
bucket.setAcl(acl);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

bucket.setName(bucketName);
bucket.setLocation(location);
bucket.setAcl(acl);
org.jets3t.service.modelStorageBucketsetName

Popular methods of StorageBucket

  • getLocation
  • getName
  • <init>
  • addMetadata
  • getAcl
  • getMetadata
  • getMetadataMap
  • replaceAllMetadata
  • setAcl
    Sets the bucket's Access Control List - this should only be used internally by JetS3t methods that r
  • setCreationDate
    Sets the bucket's creation date - this should only be used internally by JetS3t methods that retriev
  • setLocation
    Set's the bucket's location. This method should only be used internally by JetS3t methods that retri
  • setOwner
  • setLocation,
  • setOwner,
  • getCreationDate,
  • getOwner,
  • isLocationKnown

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top 12 Jupyter Notebook extensions
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