@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Resource extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 Object
Object.toString()
public S3Resource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.