Class S3BucketUtils
java.lang.Object
software.amazon.awssdk.testutils.service.S3BucketUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringCreates a temporary bucket name using the class name of the calling class as a prefix.static StringtemporaryBucketName(Class<?> clz) Creates a temporary bucket name using the class name as a prefix.static StringCreates a temporary bucket name using the class name of the object passed as a prefix.static StringtemporaryBucketName(String prefix) Creates a temporary bucket name using the prefix passed.
-
Method Details
-
temporaryBucketName
Creates a temporary bucket name using the class name of the calling class as a prefix.- Returns:
- an s3 bucket name
-
temporaryBucketName
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
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
Creates a temporary bucket name using the prefix passed.- Parameters:
prefix- prefix to use for the bucket name- Returns:
- an s3 bucket name
-