public static class ManageDataOperation.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(java.lang.String name,
byte[] value)
Creates a new ManageData builder.
|
Modifier and Type | Method and Description |
---|---|
ManageDataOperation |
build()
Builds an operation
|
ManageDataOperation.Builder |
setSourceAccount(KeyPair sourceAccount)
Sets the source account for this operation.
|
public Builder(java.lang.String name, byte[] value)
value
param.name
- The name of data entryvalue
- The value of data entry. null
null will delete data entry.public ManageDataOperation.Builder setSourceAccount(KeyPair sourceAccount)
sourceAccount
- The operation's source account.public ManageDataOperation build()