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.
|
copyapplyMutation, 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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #shareErrors(List) .shareErrors - a consumer that will call methods on List.Builder #shareErrors(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.