@Immutable public class S3ObjectId extends Object implements Serializable
S3ObjectIdBuilder
.Constructor and Description |
---|
S3ObjectId(S3ObjectIdBuilder builder) |
S3ObjectId(String bucket,
String key) |
S3ObjectId(String bucket,
String key,
String versionId) |
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
String |
getKey() |
String |
getVersionId()
Returns the version id which is optionally applicable for S3 get (but not
put) operations.
|
InstructionFileId |
instructionFileId()
Returns the instruction file id of the default instruction file.
|
InstructionFileId |
instructionFileId(String suffix)
Returns the instruction file id of an instruction file with the given
suffix.
|
String |
toString() |
public S3ObjectId(String bucket, String key, String versionId)
bucket
- the S3 bucket name which must not be nullkey
- the S3 key name which must not be nullversionId
- optional version idpublic S3ObjectId(S3ObjectIdBuilder builder)
builder
- must not be null.public String getBucket()
public String getKey()
public String getVersionId()
public InstructionFileId instructionFileId()
public InstructionFileId instructionFileId(String suffix)
Copyright © 2018. All rights reserved.