public class S3Location extends Object implements Serializable
The location in S3 the contains the files to stream.
| Constructor and Description |
|---|
S3Location() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 String getBucket()
The S3 bucket that contains the file to stream.
Constraints:
Length: 1 -
The S3 bucket that contains the file to stream.
public void setBucket(String bucket)
The S3 bucket that contains the file to stream.
Constraints:
Length: 1 -
bucket - The S3 bucket that contains the file to stream.
public S3Location withBucket(String bucket)
The S3 bucket that contains the file to stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
bucket - The S3 bucket that contains the file to stream.
public String getKey()
The name of the file within the S3 bucket to stream.
Constraints:
Length: 1 -
The name of the file within the S3 bucket to stream.
public void setKey(String key)
The name of the file within the S3 bucket to stream.
Constraints:
Length: 1 -
key - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
key - The name of the file within the S3 bucket to stream.
public String getVersion()
The file version.
The file version.
public void setVersion(String version)
The file version.
version - The file version.
public S3Location withVersion(String version)
The file version.
Returns a reference to this object so that method calls can be chained together.
version - The file version.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.