Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucket
The name of the S3 bucket containing the object to retrieve.
|
private java.lang.String |
key
The key under which the desired S3 object is stored.
|
private java.lang.String |
regionId
The region id of
Region where the S3 object is stored. |
Constructor and Description |
---|
S3() |
S3(Region region,
java.lang.String bucket,
java.lang.String key)
Constructs a new
S3Link.S3 with all the required parameters. |
S3(java.lang.String bucket,
java.lang.String key)
Constructs a new
S3Link.S3 with all the required parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucket()
Gets the name of the bucket containing the object to be downloaded.
|
java.lang.String |
getKey()
Gets the key under which the object to be downloaded is stored.
|
java.lang.String |
getRegionId() |
private java.lang.String bucket
private java.lang.String key
private java.lang.String regionId
Region
where the S3 object is stored.S3()
S3(java.lang.String bucket, java.lang.String key)
S3Link.S3
with all the required parameters.bucket
- The name of the bucket containing the desired object.key
- The key in the specified bucket under which the object is
stored.public java.lang.String getBucket()
public java.lang.String getKey()
public java.lang.String getRegionId()