Package org.stellar.sdk
Class RevokeDataSponsorshipOperation.Builder
java.lang.Object
org.stellar.sdk.RevokeDataSponsorshipOperation.Builder
- Enclosing class:
RevokeDataSponsorshipOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an operationsetSourceAccount(@NonNull String sourceAccount) Sets the source account for this operation.
-
Constructor Details
-
Builder
Creates a new RevokeDataSponsorshipOperation builder.- Parameters:
accountId- The id of the account whose data entry will be revoked.dataName- The name of the data entry which will be revoked.
-
-
Method Details
-
setSourceAccount
public RevokeDataSponsorshipOperation.Builder setSourceAccount(@NonNull @NonNull String sourceAccount) Sets the source account for this operation.- Parameters:
sourceAccount- The operation's source account.- Returns:
- Builder object so you can chain methods.
-
build
Builds an operation
-