public class S3URL extends SourceURL
Example:
http://s3-us-west-2.amazonaws.com/loh0uuji/ieg1koik
See http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
| Constructor and Description |
|---|
S3URL(URI uri)
Creates a new AWS S3 URL from the specified URI.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBucketName()
Returns the S3 bucket name.
|
String |
getKeyName()
Returns the resource key name.
|
com.amazonaws.regions.Regions |
getRegion()
Returns the AWS region.
|
String |
getVersionID()
Returns the optional version ID for the resource.
|
public S3URL(URI uri)
uri - The URI.public com.amazonaws.regions.Regions getRegion()
public String getBucketName()
public String getKeyName()
public String getVersionID()
null if not specified.Copyright © 2021 Connect2id Ltd.. All rights reserved.