@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3InputFileLocation extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the details for the S3 file being copied.
Constructor and Description |
---|
S3InputFileLocation() |
Modifier and Type | Method and Description |
---|---|
S3InputFileLocation |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
Specifies the S3 bucket that contains the file being copied.
|
String |
getKey()
The name assigned to the file when it was created in S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
Specifies the S3 bucket that contains the file being copied.
|
void |
setKey(String key)
The name assigned to the file when it was created in S3.
|
String |
toString()
Returns a string representation of this object.
|
S3InputFileLocation |
withBucket(String bucket)
Specifies the S3 bucket that contains the file being copied.
|
S3InputFileLocation |
withKey(String key)
The name assigned to the file when it was created in S3.
|
public void setBucket(String bucket)
Specifies the S3 bucket that contains the file being copied.
bucket
- Specifies the S3 bucket that contains the file being copied.public String getBucket()
Specifies the S3 bucket that contains the file being copied.
public S3InputFileLocation withBucket(String bucket)
Specifies the S3 bucket that contains the file being copied.
bucket
- Specifies the S3 bucket that contains the file being copied.public void setKey(String key)
The name assigned to the file when it was created in S3. You use the object key to retrieve the object.
key
- The name assigned to the file when it was created in S3. You use the object key to retrieve the object.public String getKey()
The name assigned to the file when it was created in S3. You use the object key to retrieve the object.
public S3InputFileLocation withKey(String key)
The name assigned to the file when it was created in S3. You use the object key to retrieve the object.
key
- The name assigned to the file when it was created in S3. You use the object key to retrieve the object.public String toString()
toString
in class Object
Object.toString()
public S3InputFileLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.