@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Represents an Amazon S3 location (bucket name and 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 Amazon 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 Amazon 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 Amazon S3 bucket name.
|
S3Location |
withKey(String key)
The unique name of the object in the bucket.
|
public void setBucket(String bucket)
The Amazon S3 bucket name.
bucket
- The Amazon S3 bucket name.public String getBucket()
The Amazon S3 bucket name.
public S3Location withBucket(String bucket)
The Amazon S3 bucket name.
bucket
- The Amazon 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 Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.