Class S3BucketUtils


  • public final class S3BucketUtils
    extends Object
    • Method Detail

      • temporaryBucketName

        public static String temporaryBucketName()
        Creates a temporary bucket name using the class name of the calling class as a prefix.
        Returns:
        an s3 bucket name
      • temporaryBucketName

        public static String temporaryBucketName​(Object clz)
        Creates a temporary bucket name using the class name of the object passed as a prefix.
        Parameters:
        clz - an object who's class will be used as the prefix
        Returns:
        an s3 bucket name
      • temporaryBucketName

        public static String temporaryBucketName​(Class<?> clz)
        Creates a temporary bucket name using the class name as a prefix.
        Parameters:
        clz - class to use as the prefix
        Returns:
        an s3 bucket name
      • temporaryBucketName

        public static String temporaryBucketName​(String prefix)
        Creates a temporary bucket name using the prefix passed.
        Parameters:
        prefix - prefix to use for the bucket name
        Returns:
        an s3 bucket name