public class S3Location extends Object implements Serializable
A specification of a location in Amazon S3.
Constructor and Description |
---|
S3Location()
Default constructor for a new S3Location object.
|
S3Location(String s3Bucket,
String s3Key)
Constructs a new S3Location object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getS3Bucket()
The Amazon S3 bucket where the data is located.
|
String |
getS3Key()
The Amazon S3 key where the data is located.
|
int |
hashCode() |
void |
setS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.
|
void |
setS3Key(String s3Key)
The Amazon S3 key where the data is located.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Location |
withS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.
|
S3Location |
withS3Key(String s3Key)
The Amazon S3 key where the data is located.
|
public S3Location()
public S3Location(String s3Bucket, String s3Key)
s3Bucket
- The Amazon S3 bucket where the data is located.s3Key
- The Amazon S3 key where the data is located.public String getS3Bucket()
Constraints:
Length: 0 - 255
public void setS3Bucket(String s3Bucket)
Constraints:
Length: 0 - 255
s3Bucket
- The Amazon S3 bucket where the data is located.public S3Location withS3Bucket(String s3Bucket)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
s3Bucket
- The Amazon S3 bucket where the data is located.public String getS3Key()
Constraints:
Length: 0 - 1024
public void setS3Key(String s3Key)
Constraints:
Length: 0 - 1024
s3Key
- The Amazon S3 key where the data is located.public S3Location withS3Key(String s3Key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
s3Key
- The Amazon S3 key where the data is located.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.