Interface SearchAgreementsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchAgreementsResponse.Builder,,SearchAgreementsResponse> MarketplaceAgreementResponse.Builder,SdkBuilder<SearchAgreementsResponse.Builder,,SearchAgreementsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchAgreementsResponse
public static interface SearchAgreementsResponse.Builder
extends MarketplaceAgreementResponse.Builder, SdkPojo, CopyableBuilder<SearchAgreementsResponse.Builder,SearchAgreementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagreementViewSummaries(Collection<AgreementViewSummary> agreementViewSummaries) A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).agreementViewSummaries(Consumer<AgreementViewSummary.Builder>... agreementViewSummaries) A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).agreementViewSummaries(AgreementViewSummary... agreementViewSummaries) A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).The token used for pagination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agreementViewSummaries
SearchAgreementsResponse.Builder agreementViewSummaries(Collection<AgreementViewSummary> agreementViewSummaries) A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
- Parameters:
agreementViewSummaries- A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementViewSummaries
SearchAgreementsResponse.Builder agreementViewSummaries(AgreementViewSummary... agreementViewSummaries) A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
- Parameters:
agreementViewSummaries- A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementViewSummaries
SearchAgreementsResponse.Builder agreementViewSummaries(Consumer<AgreementViewSummary.Builder>... agreementViewSummaries) A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
This is a convenience method that creates an instance of theAgreementViewSummary.Builderavoiding the need to create one manually viaAgreementViewSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagreementViewSummaries(List<AgreementViewSummary>).- Parameters:
agreementViewSummaries- a consumer that will call methods onAgreementViewSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token used for pagination. The field is
nullif there are no more results.- Parameters:
nextToken- The token used for pagination. The field isnullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-