@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable
The bucket and key of an item stored in Amazon S3.
Constructor and Description |
---|
S3Location()
Default constructor for S3Location object.
|
S3Location(String s3Bucket,
String s3Key)
Constructs a new S3Location object.
|
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
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 void setS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.
s3Bucket
- The Amazon S3 bucket where the data is located.public String getS3Bucket()
The Amazon S3 bucket where the data is located.
public S3Location withS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.
s3Bucket
- The Amazon S3 bucket where the data is located.public void setS3Key(String s3Key)
The Amazon S3 key where the data is located.
s3Key
- The Amazon S3 key where the data is located.public String getS3Key()
The Amazon S3 key where the data is located.
public S3Location withS3Key(String s3Key)
The Amazon S3 key where the data is located.
s3Key
- The Amazon S3 key where the data is located.public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.