public static interface ShareDetails.Builder extends SdkPojo, CopyableBuilder<ShareDetails.Builder,ShareDetails>
| Modifier and Type | Method and Description |
|---|---|
ShareDetails.Builder |
shareErrors(Collection<ShareError> shareErrors)
List of errors.
|
ShareDetails.Builder |
shareErrors(Consumer<ShareError.Builder>... shareErrors)
List of errors.
|
ShareDetails.Builder |
shareErrors(ShareError... shareErrors)
List of errors.
|
ShareDetails.Builder |
successfulShares(Collection<String> successfulShares)
List of accounts for whom the operation succeeded.
|
ShareDetails.Builder |
successfulShares(String... successfulShares)
List of accounts for whom the operation succeeded.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildShareDetails.Builder successfulShares(Collection<String> successfulShares)
List of accounts for whom the operation succeeded.
successfulShares - List of accounts for whom the operation succeeded.ShareDetails.Builder successfulShares(String... successfulShares)
List of accounts for whom the operation succeeded.
successfulShares - List of accounts for whom the operation succeeded.ShareDetails.Builder shareErrors(Collection<ShareError> shareErrors)
List of errors.
shareErrors - List of errors.ShareDetails.Builder shareErrors(ShareError... shareErrors)
List of errors.
shareErrors - List of errors.ShareDetails.Builder shareErrors(Consumer<ShareError.Builder>... shareErrors)
List of errors.
This is a convenience method that creates an instance of theShareError.Builder avoiding the need to create
one manually via ShareError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #shareErrors(List.
shareErrors - a consumer that will call methods on
ShareError.Builder#shareErrors(java.util.Collection) Copyright © 2023. All rights reserved.