@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon S3 location (bucket name an object key) where DataBrew can read input data, or write output from a job.
| Constructor and Description |
|---|
S3Location() |
| Modifier and Type | Method and Description |
|---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The S3 bucket name.
|
String |
getKey()
The unique name of the object in the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBucket(String bucket)
The S3 bucket name.
|
void |
setKey(String key)
The unique name of the object in the bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
The S3 bucket name.
|
S3Location |
withKey(String key)
The unique name of the object in the bucket.
|
public void setBucket(String bucket)
The S3 bucket name.
bucket - The S3 bucket name.public String getBucket()
The S3 bucket name.
public S3Location withBucket(String bucket)
The S3 bucket name.
bucket - The S3 bucket name.public void setKey(String key)
The unique name of the object in the bucket.
key - The unique name of the object in the bucket.public String getKey()
The unique name of the object in the bucket.
public S3Location withKey(String key)
The unique name of the object in the bucket.
key - The unique name of the object in the bucket.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.