public class S3ObjectId
extends java.lang.Object
implements java.io.Serializable
S3ObjectIdBuilder.| Constructor and Description |
|---|
S3ObjectId(S3ObjectIdBuilder builder) |
S3ObjectId(java.lang.String bucket,
java.lang.String key) |
S3ObjectId(java.lang.String bucket,
java.lang.String key,
java.lang.String versionId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBucket() |
java.lang.String |
getKey() |
java.lang.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(java.lang.String suffix)
Returns the instruction file id of an instruction file with the given
suffix.
|
java.lang.String |
toString() |
public S3ObjectId(java.lang.String bucket,
java.lang.String key)
public S3ObjectId(java.lang.String bucket,
java.lang.String key,
java.lang.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 java.lang.String getBucket()
public java.lang.String getKey()
public java.lang.String getVersionId()
public InstructionFileId instructionFileId()
public InstructionFileId instructionFileId(java.lang.String suffix)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.