@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3FileLocation extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the details for the file location for the file being used in the workflow. Only applicable if you are using S3 storage.
Constructor and Description |
---|
S3FileLocation() |
Modifier and Type | Method and Description |
---|---|
S3FileLocation |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
Specifies the S3 bucket that contains the file being used.
|
String |
getEtag()
The entity tag is a hash of the object.
|
String |
getKey()
The name assigned to the file when it was created in S3.
|
String |
getVersionId()
Specifies the file version.
|
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 used.
|
void |
setEtag(String etag)
The entity tag is a hash of the object.
|
void |
setKey(String key)
The name assigned to the file when it was created in S3.
|
void |
setVersionId(String versionId)
Specifies the file version.
|
String |
toString()
Returns a string representation of this object.
|
S3FileLocation |
withBucket(String bucket)
Specifies the S3 bucket that contains the file being used.
|
S3FileLocation |
withEtag(String etag)
The entity tag is a hash of the object.
|
S3FileLocation |
withKey(String key)
The name assigned to the file when it was created in S3.
|
S3FileLocation |
withVersionId(String versionId)
Specifies the file version.
|
public void setBucket(String bucket)
Specifies the S3 bucket that contains the file being used.
bucket
- Specifies the S3 bucket that contains the file being used.public String getBucket()
Specifies the S3 bucket that contains the file being used.
public S3FileLocation withBucket(String bucket)
Specifies the S3 bucket that contains the file being used.
bucket
- Specifies the S3 bucket that contains the file being used.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 S3FileLocation 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 void setVersionId(String versionId)
Specifies the file version.
versionId
- Specifies the file version.public String getVersionId()
Specifies the file version.
public S3FileLocation withVersionId(String versionId)
Specifies the file version.
versionId
- Specifies the file version.public void setEtag(String etag)
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
etag
- The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not
its metadata.public String getEtag()
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
public S3FileLocation withEtag(String etag)
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
etag
- The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not
its metadata.public String toString()
toString
in class Object
Object.toString()
public S3FileLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.