public class S3Resource extends Object implements Serializable, Cloneable
Each S3Resource object represents an Amazon S3 bucket that your
transferred data will be exported from or imported into. For export jobs,
this object can have an optional KeyRange value. The length of
the range is defined at job creation, and has either an inclusive
BeginMarker, an inclusive EndMarker, or both.
Ranges are UTF-8 binary sorted.
| Constructor and Description |
|---|
S3Resource() |
| Modifier and Type | Method and Description |
|---|---|
S3Resource |
clone() |
boolean |
equals(Object obj) |
String |
getBucketArn()
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
|
KeyRange |
getKeyRange()
For export jobs, you can provide an optional
KeyRange within
a specific Amazon S3 bucket. |
int |
hashCode() |
void |
setBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
|
void |
setKeyRange(KeyRange keyRange)
For export jobs, you can provide an optional
KeyRange within
a specific Amazon S3 bucket. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Resource |
withBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
|
S3Resource |
withKeyRange(KeyRange keyRange)
For export jobs, you can provide an optional
KeyRange within
a specific Amazon S3 bucket. |
public void setBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
bucketArn - The Amazon Resource Name (ARN) of an Amazon S3 bucket.public String getBucketArn()
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
public S3Resource withBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
bucketArn - The Amazon Resource Name (ARN) of an Amazon S3 bucket.public void setKeyRange(KeyRange keyRange)
For export jobs, you can provide an optional KeyRange within
a specific Amazon S3 bucket. The length of the range is defined at job
creation, and has either an inclusive BeginMarker, an
inclusive EndMarker, or both. Ranges are UTF-8 binary
sorted.
keyRange - For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is
defined at job creation, and has either an inclusive
BeginMarker, an inclusive EndMarker, or
both. Ranges are UTF-8 binary sorted.public KeyRange getKeyRange()
For export jobs, you can provide an optional KeyRange within
a specific Amazon S3 bucket. The length of the range is defined at job
creation, and has either an inclusive BeginMarker, an
inclusive EndMarker, or both. Ranges are UTF-8 binary
sorted.
KeyRange within a specific Amazon S3 bucket. The
length of the range is defined at job creation, and has either an
inclusive BeginMarker, an inclusive
EndMarker, or both. Ranges are UTF-8 binary sorted.public S3Resource withKeyRange(KeyRange keyRange)
For export jobs, you can provide an optional KeyRange within
a specific Amazon S3 bucket. The length of the range is defined at job
creation, and has either an inclusive BeginMarker, an
inclusive EndMarker, or both. Ranges are UTF-8 binary
sorted.
keyRange - For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is
defined at job creation, and has either an inclusive
BeginMarker, an inclusive EndMarker, or
both. Ranges are UTF-8 binary sorted.public String toString()
toString in class ObjectObject.toString()public S3Resource clone()
Copyright © 2016. All rights reserved.