public class ComposeSource extends Object
| Constructor and Description |
|---|
ComposeSource(String bucketName,
String objectName)
Create new ComposeSource for given bucket and object.
|
ComposeSource(String bucketName,
String objectName,
Long offset,
Long length)
Create new ComposeSource for given bucket, object, offset and length.
|
ComposeSource(String bucketName,
String objectName,
Long offset,
Long length,
Map<String,String> headerMap)
Create new ComposeSource for given bucket, object, offset, length and headerMap.
|
ComposeSource(String bucketName,
String objectName,
Long offset,
Long length,
Map<String,String> headerMap,
CopyConditions copyConditions)
Create new ComposeSource for given bucket, object, offset, length, headerMap and
CopyConditions.
|
ComposeSource(String bucketName,
String objectName,
Long offset,
Long length,
Map<String,String> headerMap,
CopyConditions copyConditions,
ServerSideEncryption sse)
Creates new ComposeSource for given bucket, object, offset, length, headerMap, CopyConditions
and server side encryption.
|
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName() |
void |
buildHeaders(long objectSize,
String etag)
Constructs header .
|
CopyConditions |
copyConditions() |
Map<String,String> |
headers() |
Long |
length() |
String |
objectName() |
long |
objectSize() |
Long |
offset() |
ServerSideEncryption |
sse() |
public ComposeSource(String bucketName, String objectName) throws IllegalArgumentException
IllegalArgumentExceptionpublic ComposeSource(String bucketName, String objectName, Long offset, Long length) throws IllegalArgumentException
IllegalArgumentExceptionpublic ComposeSource(String bucketName, String objectName, Long offset, Long length, Map<String,String> headerMap) throws IllegalArgumentException
IllegalArgumentExceptionpublic ComposeSource(String bucketName, String objectName, Long offset, Long length, Map<String,String> headerMap, CopyConditions copyConditions) throws IllegalArgumentException
IllegalArgumentExceptionpublic ComposeSource(String bucketName, String objectName, Long offset, Long length, Map<String,String> headerMap, CopyConditions copyConditions, ServerSideEncryption sse) throws IllegalArgumentException
IllegalArgumentException - upon invalid value is passed to a method.public void buildHeaders(long objectSize,
String etag)
throws IllegalArgumentException
IllegalArgumentExceptionpublic String bucketName()
public String objectName()
public Long offset()
public Long length()
public CopyConditions copyConditions()
public ServerSideEncryption sse()
public long objectSize()