io.atlassian.aws.s3

S3

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def DefaultObjectMetadata: ObjectMetadata

  7. val MultipartChunkSize: Int

  8. def ServerSideEncryption: ObjectMetadata

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

    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).

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

    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)

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

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

  15. final def eq(arg0: AnyRef): Boolean

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

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

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

  19. def finalize(): Unit

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

  21. final def getClass(): Class[_]

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

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

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

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

  26. final def ne(arg0: AnyRef): Boolean

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

  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def putFile(location: ContentLocation, file: File, metaData: ObjectMetadata = DefaultObjectMetadata, createFolders: Boolean = true): S3Action[PutObjectResult]

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

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

    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

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

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

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

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

    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped