public static final class StoreBytesData.Builder extends Object
A builder for StoreBytesData
objects.
Public Constructor Summary
Builder()
Constructor for the
StoreBytesData.Builder class.
|
Public Method Summary
StoreBytesData |
build()
Builds and returns the
StoreBytesData object.
|
StoreBytesData.Builder |
setBytes(byte[] bytes)
Sets the raw bytes to be stored with Block Store.
|
StoreBytesData.Builder |
setShouldBackupToCloud(boolean shouldBackupToCloud)
Sets whether the bytes to be stored should be backed up to the cloud in the
next sync.
|
Inherited Method Summary
Public Constructors
public Builder ()
Constructor for the
StoreBytesData.Builder
class.
Public Methods
public StoreBytesData build ()
Builds and returns the StoreBytesData
object.
public StoreBytesData.Builder setBytes (byte[] bytes)
Sets the raw bytes to be stored with Block Store. See
BlockstoreClient.MAX_SIZE
for the maximum size allowed.
public StoreBytesData.Builder setShouldBackupToCloud (boolean shouldBackupToCloud)
Sets whether the bytes to be stored should be backed up to the cloud in the next sync.