Class B2ByteArrayContentSource.Builder
- java.lang.Object
-
- com.backblaze.b2.client.contentSources.B2ByteArrayContentSource.Builder
-
- Enclosing class:
- B2ByteArrayContentSource
public static class B2ByteArrayContentSource.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(byte[] source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2ContentSource
build()
B2ByteArrayContentSource.Builder
setSha1OrNull(java.lang.String sha1OrNull)
B2ByteArrayContentSource.Builder
setSrcLastModifiedMillisOrNull(java.lang.Long srcLastModifiedMillisOrNull)
-
-
-
Method Detail
-
setSha1OrNull
public B2ByteArrayContentSource.Builder setSha1OrNull(java.lang.String sha1OrNull)
- Parameters:
sha1OrNull
- the sha1 for this file.- See Also:
B2ContentSource.getSha1OrNull()
-
setSrcLastModifiedMillisOrNull
public B2ByteArrayContentSource.Builder setSrcLastModifiedMillisOrNull(java.lang.Long srcLastModifiedMillisOrNull)
-
build
public B2ContentSource build()
-
-