@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the details for the Amazon S3 file location that is being used with Amazon Web Services B2BI Data Interchange. File locations in Amazon S3 are identified using a combination of the bucket and key.
| Constructor and Description |
|---|
S3Location() |
| Modifier and Type | Method and Description |
|---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
Specifies the name of the Amazon S3 bucket.
|
String |
getKey()
Specifies the Amazon S3 key for the file location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBucketName(String bucketName)
Specifies the name of the Amazon S3 bucket.
|
void |
setKey(String key)
Specifies the Amazon S3 key for the file location.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucketName(String bucketName)
Specifies the name of the Amazon S3 bucket.
|
S3Location |
withKey(String key)
Specifies the Amazon S3 key for the file location.
|
public void setBucketName(String bucketName)
Specifies the name of the Amazon S3 bucket.
bucketName - Specifies the name of the Amazon S3 bucket.public String getBucketName()
Specifies the name of the Amazon S3 bucket.
public S3Location withBucketName(String bucketName)
Specifies the name of the Amazon S3 bucket.
bucketName - Specifies the name of the Amazon S3 bucket.public void setKey(String key)
Specifies the Amazon S3 key for the file location.
key - Specifies the Amazon S3 key for the file location.public String getKey()
Specifies the Amazon S3 key for the file location.
public S3Location withKey(String key)
Specifies the Amazon S3 key for the file location.
key - Specifies the Amazon S3 key for the file location.public String toString()
toString in class ObjectObject.toString()public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.