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:
namein interfaceBlobBuilder- Parameters:
name- The name of theBlob. Typically refers to an http path.
-
tier
- Specified by:
tierin interfaceBlobBuilder- Parameters:
tier- The storage tier of theBlob. Typically STANDARD.
-
type
- Specified by:
typein interfaceBlobBuilder- Parameters:
type- overrides default type ofStorageType.BLOB
-
eTag
- Specified by:
eTagin interfaceBlobBuilder- Parameters:
eTag- Entity Tag associated with the Blob. Typically, content MD5 hash.
-
userMetadata
- Specified by:
userMetadatain interfaceBlobBuilder- Parameters:
userMetadata- User defined metadata associated with thisBlob.
-
payload
- Specified by:
payloadin interfaceBlobBuilder- Parameters:
payload- payload you wish to construct theBlobwith.
-
payload
- Specified by:
payloadin interfaceBlobBuilder- Parameters:
data- payload you wish to construct theBlobwith.
-
payload
- Specified by:
payloadin interfaceBlobBuilder- Parameters:
data- payload you wish to construct theBlobwith.
-
payload
- Specified by:
payloadin interfaceBlobBuilder
-
payload
- Specified by:
payloadin interfaceBlobBuilder- Parameters:
data- payload you wish to construct theBlobwith.
-
payload
- Specified by:
payloadin interfaceBlobBuilder- Parameters:
data- payload you wish to construct theBlobwith.
-
build
Description copied from interface:BlobBuilderThis makes a blob from the currently configured parameters.- Specified by:
buildin interfaceBlobBuilder- Returns:
- a new blob from the current parameters
-
forSigning
Description copied from interface:BlobBuilderIf you are creating a blob only for signing, use this.- Specified by:
forSigningin interfaceBlobBuilder
-