@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class File extends Object implements Serializable, Cloneable, StructuredPojo
The file in Amazon S3 where your data is saved.
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
File |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the Amazon S3 bucket from which data is imported.
|
String |
getKey()
The key of the Amazon S3 object that contains your data.
|
String |
getVersionId()
The version ID to identify a specific version of the Amazon S3 object that contains your data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The name of the Amazon S3 bucket from which data is imported.
|
void |
setKey(String key)
The key of the Amazon S3 object that contains your data.
|
void |
setVersionId(String versionId)
The version ID to identify a specific version of the Amazon S3 object that contains your data.
|
String |
toString()
Returns a string representation of this object.
|
File |
withBucket(String bucket)
The name of the Amazon S3 bucket from which data is imported.
|
File |
withKey(String key)
The key of the Amazon S3 object that contains your data.
|
File |
withVersionId(String versionId)
The version ID to identify a specific version of the Amazon S3 object that contains your data.
|
public void setBucket(String bucket)
The name of the Amazon S3 bucket from which data is imported.
bucket
- The name of the Amazon S3 bucket from which data is imported.public String getBucket()
The name of the Amazon S3 bucket from which data is imported.
public File withBucket(String bucket)
The name of the Amazon S3 bucket from which data is imported.
bucket
- The name of the Amazon S3 bucket from which data is imported.public void setKey(String key)
The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.
key
- The key of the Amazon S3 object that contains your data. Each object has a key that is a unique
identifier. Each object has exactly one key.public String getKey()
The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.
public File withKey(String key)
The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.
key
- The key of the Amazon S3 object that contains your data. Each object has a key that is a unique
identifier. Each object has exactly one key.public void setVersionId(String versionId)
The version ID to identify a specific version of the Amazon S3 object that contains your data.
versionId
- The version ID to identify a specific version of the Amazon S3 object that contains your data.public String getVersionId()
The version ID to identify a specific version of the Amazon S3 object that contains your data.
public File withVersionId(String versionId)
The version ID to identify a specific version of the Amazon S3 object that contains your data.
versionId
- The version ID to identify a specific version of the Amazon S3 object that contains your data.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.