|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlobBuilder
In case the name was confusing, this indeed builds a Blob.
Nested Class Summary | |
---|---|
static interface |
BlobBuilder.PayloadBlobBuilder
|
Method Summary | |
---|---|
Blob |
build()
This makes a blob from the currently configured parameters. |
BlobBuilder.PayloadBlobBuilder |
forSigning()
If you are creating a blob only for signing, use this. |
BlobBuilder |
name(String name)
|
BlobBuilder.PayloadBlobBuilder |
payload(byte[] payload)
|
BlobBuilder.PayloadBlobBuilder |
payload(File payload)
|
BlobBuilder.PayloadBlobBuilder |
payload(InputStream payload)
|
BlobBuilder.PayloadBlobBuilder |
payload(Payload payload)
|
BlobBuilder.PayloadBlobBuilder |
payload(String payload)
|
BlobBuilder |
type(StorageType type)
|
BlobBuilder |
userMetadata(Map<String,String> userMetadata)
|
Method Detail |
---|
BlobBuilder name(String name)
name
- The name of the Blob
. Typically refers to an http path.BlobBuilder type(StorageType type)
type
- overrides default type of StorageType.BLOB
BlobBuilder userMetadata(Map<String,String> userMetadata)
userMetadata
- User defined metadata associated with this Blob
.BlobBuilder.PayloadBlobBuilder payload(Payload payload)
payload
- payload you wish to construct the Blob
with.BlobBuilder.PayloadBlobBuilder payload(InputStream payload)
payload
- payload you wish to construct the Blob
with.BlobBuilder.PayloadBlobBuilder forSigning()
BlobRequestSigner
BlobBuilder.PayloadBlobBuilder payload(byte[] payload)
payload
- payload you wish to construct the Blob
with.BlobBuilder.PayloadBlobBuilder payload(String payload)
payload
- payload you wish to construct the Blob
with.BlobBuilder.PayloadBlobBuilder payload(File payload)
payload
- payload you wish to construct the Blob
with.Blob build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |