@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageLocation extends Object implements Serializable, Cloneable
Describes a storage location in Amazon S3.
Constructor and Description |
---|
StorageLocation() |
Modifier and Type | Method and Description |
---|---|
StorageLocation |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the S3 bucket.
|
String |
getKey()
The key.
|
int |
hashCode() |
void |
setBucket(String bucket)
The name of the S3 bucket.
|
void |
setKey(String key)
The key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StorageLocation |
withBucket(String bucket)
The name of the S3 bucket.
|
StorageLocation |
withKey(String key)
The key.
|
public void setBucket(String bucket)
The name of the S3 bucket.
bucket
- The name of the S3 bucket.public String getBucket()
The name of the S3 bucket.
public StorageLocation withBucket(String bucket)
The name of the S3 bucket.
bucket
- The name of the S3 bucket.public void setKey(String key)
The key.
key
- The key.public String getKey()
The key.
public StorageLocation withKey(String key)
The key.
key
- The key.public String toString()
toString
in class Object
Object.toString()
public StorageLocation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.