public class S3Location extends Object implements Serializable
The S3 location.
| Constructor and Description |
|---|
S3Location() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBucket()
The S3 bucket.
|
String |
getKey()
The S3 key.
|
String |
getVersion()
The S3 bucket version.
|
int |
hashCode() |
void |
setBucket(String bucket)
The S3 bucket.
|
void |
setKey(String key)
The S3 key.
|
void |
setVersion(String version)
The S3 bucket version.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Location |
withBucket(String bucket)
The S3 bucket.
|
S3Location |
withKey(String key)
The S3 key.
|
S3Location |
withVersion(String version)
The S3 bucket version.
|
public String getBucket()
The S3 bucket.
Constraints:
Length: 1 -
The S3 bucket.
public void setBucket(String bucket)
The S3 bucket.
Constraints:
Length: 1 -
bucket - The S3 bucket.
public S3Location withBucket(String bucket)
The S3 bucket.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
bucket - The S3 bucket.
public String getKey()
The S3 key.
Constraints:
Length: 1 -
The S3 key.
public void setKey(String key)
The S3 key.
Constraints:
Length: 1 -
key - The S3 key.
public S3Location withKey(String key)
The S3 key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
key - The S3 key.
public String getVersion()
The S3 bucket version.
The S3 bucket version.
public void setVersion(String version)
The S3 bucket version.
version - The S3 bucket version.
public S3Location withVersion(String version)
The S3 bucket version.
Returns a reference to this object so that method calls can be chained together.
version - The S3 bucket version.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.