public final class InstructionFileId extends S3ObjectId
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_INSTRUCTION_FILE_SUFFIX |
static java.lang.String |
DEFAULT_INSTURCTION_FILE_SUFFIX
Deprecated.
|
static java.lang.String |
DOT |
Constructor and Description |
---|
InstructionFileId(java.lang.String bucket,
java.lang.String key,
java.lang.String versionId)
Package private to enable the enforcement of naming convention for
instruction file.
|
Modifier and Type | Method and Description |
---|---|
InstructionFileId |
instructionFileId()
Always throws
UnsupportedOperationException since an instruction
file itself cannot further have an instruction file. |
InstructionFileId |
instructionFileId(java.lang.String suffix)
Always throws
UnsupportedOperationException since an instruction
file itself cannot further have an instruction file. |
getBucket, getKey, getVersionId, toString
public static final java.lang.String DEFAULT_INSTRUCTION_FILE_SUFFIX
@Deprecated public static final java.lang.String DEFAULT_INSTURCTION_FILE_SUFFIX
public static final java.lang.String DOT
InstructionFileId(java.lang.String bucket, java.lang.String key, java.lang.String versionId)
key
- key of the instruction file.versionId
- the version id of an instruction file is expected to be the
same as that of the corresponding (encrypted) S3 objectS3ObjectId.instructionFileId()
,
S3ObjectId.instructionFileId(String)
public InstructionFileId instructionFileId()
UnsupportedOperationException
since an instruction
file itself cannot further have an instruction file.instructionFileId
in class S3ObjectId
public InstructionFileId instructionFileId(java.lang.String suffix)
UnsupportedOperationException
since an instruction
file itself cannot further have an instruction file.instructionFileId
in class S3ObjectId