Object

io.atlassian.aws.s3

S3

Related Doc: package s3

Permalink

object S3

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. S3
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def DefaultObjectMetadata: ObjectMetadata

    Permalink
  5. val MultipartChunkSize: Int

    Permalink
  6. def ServerSideEncryption: ObjectMetadata

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copy(from: ContentLocation, to: ContentLocation, meta: Option[ObjectMetadata] = None, createFolders: Boolean = true, overwrite: aws.OverwriteMode = OverwriteMode.Overwrite): S3Action[Option[CopyObjectResult]]

    Permalink

    Copy contents at the oldBucket and oldKey to a newBucket and newKey.

    Copy contents at the oldBucket and oldKey to a newBucket and newKey.

    from

    The source bucket and key

    to

    The destination bucket and key

    meta

    The function will copy the existing metadata of the source object unless you specify newMetaData which will be used instead.

    createFolders

    Set to true if you want to create any folders referenced in the ContentLocation as part of the copy process.

    overwrite

    Set to Overwrite if you want to overwrite whatever is in the destination location. Set to NoOverwrite to return without overwriting the destination location.

    returns

    S3Action with CopyResult (either Copied if it was copied, or NotCopied if the destination location already has content and NoOverwrite was specified).

  10. def createFolder(bucket: s3.Bucket, folder: String, metaData: ObjectMetadata = DefaultObjectMetadata): S3Action[PutObjectResult]

    Permalink

    Creates a folder in an S3 bucket.

    Creates a folder in an S3 bucket. A folder is just an empty 'file' with a / on the end of the name. However, if you want to create a folder in a bucket that enforces encryption, you need to create it using the appropriate metadata, which this function can do.

    bucket

    Bucket name

    folder

    Folder name (without trailing slash)

    metaData

    Folder metadata (default enforces encryption)

    returns

    S3Action with no return result (Unit)

  11. def createFoldersFor(location: ContentLocation): S3Action[List[PutObjectResult]]

    Permalink
  12. def delete(location: ContentLocation): S3Action[Unit]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def exists(bucket: s3.Bucket): S3Action[Boolean]

    Permalink
  16. def exists(location: ContentLocation): S3Action[Boolean]

    Permalink
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def get(location: ContentLocation, range: Range = Range.All): S3Action[S3Object]

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def listKeys(bucket: s3.Bucket, prefix: String): S3Action[ObjectListing]

    Permalink
  23. def metaData(location: ContentLocation): S3Action[ObjectMetadata]

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def nextBatchOfKeys(lastListing: ObjectListing): S3Action[ObjectListing]

    Permalink
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def putStream(location: ContentLocation, stream: InputStream, length: Option[Long] = None, metaData: ObjectMetadata = DefaultObjectMetadata, createFolders: Boolean = true): S3Action[PutObjectResult]

    Permalink
  29. def putStreamWithMultipart(location: ContentLocation, stream: InputStream, length: Option[Long] = None, metaData: ObjectMetadata = DefaultObjectMetadata, createFolders: Boolean = true): S3Action[s3.ContentLength]

    Permalink

    Uploads stream of data to S3 using multi-part uploads if the length is not known.

    Uploads stream of data to S3 using multi-part uploads if the length is not known.

    returns

    length of content that was uploaded

  30. def regionFor(bucket: s3.Bucket): S3Action[Region]

    Permalink
  31. def safeGet(location: ContentLocation, range: Range = Range.All): S3Action[Option[S3Object]]

    Permalink
  32. def safeMetaData(location: ContentLocation): S3Action[Option[ObjectMetadata]]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped