@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
The location in S3 the contains the files to stream.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The S3 bucket that contains the file to stream.
|
String |
getKey()
The name of the file within the S3 bucket to stream.
|
String |
getVersion()
The file version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBucket(String bucket)
The S3 bucket that contains the file to stream.
|
void |
setKey(String key)
The name of the file within the S3 bucket to stream.
|
void |
setVersion(String version)
The file version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3Location |
withBucket(String bucket)
The S3 bucket that contains the file to stream.
|
S3Location |
withKey(String key)
The name of the file within the S3 bucket to stream.
|
S3Location |
withVersion(String version)
The file version.
|
public void setBucket(String bucket)
The S3 bucket that contains the file to stream.
bucket
- The S3 bucket that contains the file to stream.public String getBucket()
The S3 bucket that contains the file to stream.
public S3Location withBucket(String bucket)
The S3 bucket that contains the file to stream.
bucket
- The S3 bucket that contains the file to stream.public void setKey(String key)
The name of the file within the S3 bucket to stream.
key
- The name of the file within the S3 bucket to stream.public String getKey()
The name of the file within the S3 bucket to stream.
public S3Location withKey(String key)
The name of the file within the S3 bucket to stream.
key
- The name of the file within the S3 bucket to stream.public void setVersion(String version)
The file version.
version
- The file version.public String getVersion()
The file version.
public S3Location withVersion(String version)
The file version.
version
- The file version.public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.