Tabnine Logo
StorageBucket.getLocation
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: net.java.dev.jets3t/jets3t

/**
 * Create a bucket with the Access Control List settings of the bucket object (if any).
 * <p>
 * <b>Caution:</b> Performing this operation unnecessarily when a bucket already
 * exists may cause OperationAborted errors with the message "A conflicting conditional
 * operation is currently in progress against this resource.". To avoid this error, use the
 * {@link #getOrCreateBucket(String)} in situations where the bucket may already exist.
 * <p>
 * This method cannot be performed by anonymous services.
 *
 * @param bucket
 * the bucket to create, including optional ACL settings.
 * @return
 * the created bucket object. <b>Note:</b> the object returned has minimal information about
 * the bucket that was created, including only the bucket's name.
 * @throws ServiceException
 */
public StorageBucket createBucket(StorageBucket bucket) throws ServiceException
{
  return createBucketImpl(bucket.getName(), bucket.getLocation(), bucket.getAcl());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * Create a bucket with the Access Control List settings of the bucket object (if any).
 * <p>
 * <b>Caution:</b> Performing this operation unnecessarily when a bucket already
 * exists may cause OperationAborted errors with the message "A conflicting conditional
 * operation is currently in progress against this resource.". To avoid this error, use the
 * {@link #getOrCreateBucket(String)} in situations where the bucket may already exist.
 * <p>
 * This method cannot be performed by anonymous services.
 *
 * @param bucket
 * the bucket to create, including optional ACL settings.
 * @return
 * the created bucket object. <b>Note:</b> the object returned has minimal information about
 * the bucket that was created, including only the bucket's name.
 * @throws ServiceException
 */
public StorageBucket createBucket(StorageBucket bucket) throws ServiceException
{
  return createBucketImpl(bucket.getName(), bucket.getLocation(), bucket.getAcl());
}
origin: iterate-ch/cyberduck

bucket.attributes().setRegion(b.getLocation());
  location = b.getLocation();
org.jets3t.service.modelStorageBucketgetLocation

Popular methods of StorageBucket

  • 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
  • setName
  • setOwner
  • setName,
  • setOwner,
  • getCreationDate,
  • getOwner,
  • isLocationKnown

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • getContentResolver (Context)
  • putExtra (Intent)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Runner (org.openjdk.jmh.runner)
  • 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