@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
The location of an external Dataview in an S3 bucket.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the S3 bucket.
|
String |
getKey()
The path of the folder, within the S3 bucket that contains the Dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The name of the S3 bucket.
|
void |
setKey(String key)
The path of the folder, within the S3 bucket that contains the Dataset.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
The name of the S3 bucket.
|
S3Location |
withKey(String key)
The path of the folder, within the S3 bucket that contains the Dataset.
|
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 S3Location withBucket(String bucket)
The name of the S3 bucket.
bucket
- The name of the S3 bucket.public void setKey(String key)
The path of the folder, within the S3 bucket that contains the Dataset.
key
- The path of the folder, within the S3 bucket that contains the Dataset.public String getKey()
The path of the folder, within the S3 bucket that contains the Dataset.
public S3Location withKey(String key)
The path of the folder, within the S3 bucket that contains the Dataset.
key
- The path of the folder, within the S3 bucket that contains the Dataset.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.