Class BlobBuilderImpl
java.lang.Object
org.jclouds.blobstore.domain.internal.BlobBuilderImpl
- All Implemented Interfaces:
BlobBuilder
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.jclouds.blobstore.domain.BlobBuilder
BlobBuilder.PayloadBlobBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
This makes a blob from the currently configured parameters.If you are creating a blob only for signing, use this.payload
(byte[] data) payload
(com.google.common.io.ByteSource data) payload
(InputStream data) type
(StorageType type) userMetadata
(Map<String, String> userMetadata)
-
Constructor Details
-
BlobBuilderImpl
public BlobBuilderImpl()
-
-
Method Details
-
name
- Specified by:
name
in interfaceBlobBuilder
- Parameters:
name
- The name of theBlob
. Typically refers to an http path.
-
tier
- Specified by:
tier
in interfaceBlobBuilder
- Parameters:
tier
- The storage tier of theBlob
. Typically STANDARD.
-
type
- Specified by:
type
in interfaceBlobBuilder
- Parameters:
type
- overrides default type ofStorageType.BLOB
-
eTag
- Specified by:
eTag
in interfaceBlobBuilder
- Parameters:
eTag
- Entity Tag associated with the Blob. Typically, content MD5 hash.
-
userMetadata
- Specified by:
userMetadata
in interfaceBlobBuilder
- Parameters:
userMetadata
- User defined metadata associated with thisBlob
.
-
payload
- Specified by:
payload
in interfaceBlobBuilder
- Parameters:
payload
- payload you wish to construct theBlob
with.
-
payload
- Specified by:
payload
in interfaceBlobBuilder
- Parameters:
data
- payload you wish to construct theBlob
with.
-
payload
- Specified by:
payload
in interfaceBlobBuilder
- Parameters:
data
- payload you wish to construct theBlob
with.
-
payload
- Specified by:
payload
in interfaceBlobBuilder
-
payload
- Specified by:
payload
in interfaceBlobBuilder
- Parameters:
data
- payload you wish to construct theBlob
with.
-
payload
- Specified by:
payload
in interfaceBlobBuilder
- Parameters:
data
- payload you wish to construct theBlob
with.
-
build
Description copied from interface:BlobBuilder
This makes a blob from the currently configured parameters.- Specified by:
build
in interfaceBlobBuilder
- Returns:
- a new blob from the current parameters
-
forSigning
Description copied from interface:BlobBuilder
If you are creating a blob only for signing, use this.- Specified by:
forSigning
in interfaceBlobBuilder
-