public static interface ListAgreementsResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListAgreementsResponse.Builder,ListAgreementsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListAgreementsResponse.Builder |
agreements(Collection<ListedAgreement> agreements)
Returns an array, where each item contains the details of an agreement.
|
ListAgreementsResponse.Builder |
agreements(Consumer<ListedAgreement.Builder>... agreements)
Returns an array, where each item contains the details of an agreement.
|
ListAgreementsResponse.Builder |
agreements(ListedAgreement... agreements)
Returns an array, where each item contains the details of an agreement.
|
ListAgreementsResponse.Builder |
nextToken(String nextToken)
Returns a token that you can use to call
ListAgreements again and receive additional results, if
there are any. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListAgreementsResponse.Builder nextToken(String nextToken)
Returns a token that you can use to call ListAgreements again and receive additional results, if
there are any.
nextToken - Returns a token that you can use to call ListAgreements again and receive additional
results, if there are any.ListAgreementsResponse.Builder agreements(Collection<ListedAgreement> agreements)
Returns an array, where each item contains the details of an agreement.
agreements - Returns an array, where each item contains the details of an agreement.ListAgreementsResponse.Builder agreements(ListedAgreement... agreements)
Returns an array, where each item contains the details of an agreement.
agreements - Returns an array, where each item contains the details of an agreement.ListAgreementsResponse.Builder agreements(Consumer<ListedAgreement.Builder>... agreements)
Returns an array, where each item contains the details of an agreement.
This is a convenience method that creates an instance of theListedAgreement.Builder avoiding the need to create
one manually via ListedAgreement.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #agreements(List.
agreements - a consumer that will call methods on
ListedAgreement.Builder#agreements(java.util.Collection) Copyright © 2023. All rights reserved.