public class COSObjectId extends Object implements Serializable
| Constructor and Description |
|---|
COSObjectId(COSObjectIdBuilder builder) |
COSObjectId(String bucket,
String key) |
COSObjectId(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 COS 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 COSObjectId(String bucket, String key, String versionId)
bucket - the COS bucket name which must not be nullkey - the COS key name which must not be nullversionId - optional version idpublic COSObjectId(COSObjectIdBuilder builder)
builder - must not be null.public String getBucket()
public String getKey()
public String getVersionId()
public InstructionFileId instructionFileId()
public InstructionFileId instructionFileId(String suffix)
Copyright © 2023. All rights reserved.