Interface SearchAgreementsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchAgreementsRequest.Builder,SearchAgreementsRequest>,MarketplaceAgreementRequest.Builder,SdkBuilder<SearchAgreementsRequest.Builder,SearchAgreementsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchAgreementsRequest
public static interface SearchAgreementsRequest.Builder extends MarketplaceAgreementRequest.Builder, SdkPojo, CopyableBuilder<SearchAgreementsRequest.Builder,SearchAgreementsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchAgreementsRequest.Buildercatalog(String catalog)The catalog in which the agreement was created.SearchAgreementsRequest.Builderfilters(Collection<Filter> filters)The filter name and value pair used to return a specific list of results.SearchAgreementsRequest.Builderfilters(Consumer<Filter.Builder>... filters)The filter name and value pair used to return a specific list of results.SearchAgreementsRequest.Builderfilters(Filter... filters)The filter name and value pair used to return a specific list of results.SearchAgreementsRequest.BuildermaxResults(Integer maxResults)The maximum number of agreements to return in the response.SearchAgreementsRequest.BuildernextToken(String nextToken)A token to specify where to start pagination.SearchAgreementsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchAgreementsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default SearchAgreementsRequest.Buildersort(Consumer<Sort.Builder> sort)An object that contains theSortByandSortOrderattributes.SearchAgreementsRequest.Buildersort(Sort sort)An object that contains theSortByandSortOrderattributes.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
catalog
SearchAgreementsRequest.Builder catalog(String catalog)
The catalog in which the agreement was created.
- Parameters:
catalog- The catalog in which the agreement was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchAgreementsRequest.Builder filters(Collection<Filter> filters)
The filter name and value pair used to return a specific list of results.
The following filters are supported:
-
ResourceIdentifier– The unique identifier of the resource. -
ResourceType– Type of the resource, which is the product (AmiProduct,ContainerProduct, orSaaSProduct). -
PartyType– The party type (eitherAcceptororProposer) of the caller. For agreements where the caller is the proposer, use theProposerfilter. For agreements where the caller is the acceptor, use theAcceptorfilter. -
AcceptorAccountId– The AWS account ID of the party accepting the agreement terms. -
OfferId– The unique identifier of the offer in which the terms are registered in the agreement token. -
Status– The current status of the agreement. Values includeACTIVE,ARCHIVED,CANCELLED,EXPIRED,RENEWED,REPLACED, andTERMINATED. -
BeforeEndTime– A date used to filter agreements with a date before theendTimeof an agreement. -
AfterEndTime– A date used to filter agreements with a date after theendTimeof an agreement. -
AgreementType– The type of agreement. Values includePurchaseAgreementorVendorInsightsAgreement.
- Parameters:
filters- The filter name and value pair used to return a specific list of results.The following filters are supported:
-
ResourceIdentifier– The unique identifier of the resource. -
ResourceType– Type of the resource, which is the product (AmiProduct,ContainerProduct, orSaaSProduct). -
PartyType– The party type (eitherAcceptororProposer) of the caller. For agreements where the caller is the proposer, use theProposerfilter. For agreements where the caller is the acceptor, use theAcceptorfilter. -
AcceptorAccountId– The AWS account ID of the party accepting the agreement terms. -
OfferId– The unique identifier of the offer in which the terms are registered in the agreement token. -
Status– The current status of the agreement. Values includeACTIVE,ARCHIVED,CANCELLED,EXPIRED,RENEWED,REPLACED, andTERMINATED. -
BeforeEndTime– A date used to filter agreements with a date before theendTimeof an agreement. -
AfterEndTime– A date used to filter agreements with a date after theendTimeof an agreement. -
AgreementType– The type of agreement. Values includePurchaseAgreementorVendorInsightsAgreement.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
SearchAgreementsRequest.Builder filters(Filter... filters)
The filter name and value pair used to return a specific list of results.
The following filters are supported:
-
ResourceIdentifier– The unique identifier of the resource. -
ResourceType– Type of the resource, which is the product (AmiProduct,ContainerProduct, orSaaSProduct). -
PartyType– The party type (eitherAcceptororProposer) of the caller. For agreements where the caller is the proposer, use theProposerfilter. For agreements where the caller is the acceptor, use theAcceptorfilter. -
AcceptorAccountId– The AWS account ID of the party accepting the agreement terms. -
OfferId– The unique identifier of the offer in which the terms are registered in the agreement token. -
Status– The current status of the agreement. Values includeACTIVE,ARCHIVED,CANCELLED,EXPIRED,RENEWED,REPLACED, andTERMINATED. -
BeforeEndTime– A date used to filter agreements with a date before theendTimeof an agreement. -
AfterEndTime– A date used to filter agreements with a date after theendTimeof an agreement. -
AgreementType– The type of agreement. Values includePurchaseAgreementorVendorInsightsAgreement.
- Parameters:
filters- The filter name and value pair used to return a specific list of results.The following filters are supported:
-
ResourceIdentifier– The unique identifier of the resource. -
ResourceType– Type of the resource, which is the product (AmiProduct,ContainerProduct, orSaaSProduct). -
PartyType– The party type (eitherAcceptororProposer) of the caller. For agreements where the caller is the proposer, use theProposerfilter. For agreements where the caller is the acceptor, use theAcceptorfilter. -
AcceptorAccountId– The AWS account ID of the party accepting the agreement terms. -
OfferId– The unique identifier of the offer in which the terms are registered in the agreement token. -
Status– The current status of the agreement. Values includeACTIVE,ARCHIVED,CANCELLED,EXPIRED,RENEWED,REPLACED, andTERMINATED. -
BeforeEndTime– A date used to filter agreements with a date before theendTimeof an agreement. -
AfterEndTime– A date used to filter agreements with a date after theendTimeof an agreement. -
AgreementType– The type of agreement. Values includePurchaseAgreementorVendorInsightsAgreement.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
SearchAgreementsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filter name and value pair used to return a specific list of results.
The following filters are supported:
-
ResourceIdentifier– The unique identifier of the resource. -
ResourceType– Type of the resource, which is the product (AmiProduct,ContainerProduct, orSaaSProduct). -
PartyType– The party type (eitherAcceptororProposer) of the caller. For agreements where the caller is the proposer, use theProposerfilter. For agreements where the caller is the acceptor, use theAcceptorfilter. -
AcceptorAccountId– The AWS account ID of the party accepting the agreement terms. -
OfferId– The unique identifier of the offer in which the terms are registered in the agreement token. -
Status– The current status of the agreement. Values includeACTIVE,ARCHIVED,CANCELLED,EXPIRED,RENEWED,REPLACED, andTERMINATED. -
BeforeEndTime– A date used to filter agreements with a date before theendTimeof an agreement. -
AfterEndTime– A date used to filter agreements with a date after theendTimeof an agreement. -
AgreementType– The type of agreement. Values includePurchaseAgreementorVendorInsightsAgreement.
Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
-
maxResults
SearchAgreementsRequest.Builder maxResults(Integer maxResults)
The maximum number of agreements to return in the response.
- Parameters:
maxResults- The maximum number of agreements to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
SearchAgreementsRequest.Builder nextToken(String nextToken)
A token to specify where to start pagination.
- Parameters:
nextToken- A token to specify where to start pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
SearchAgreementsRequest.Builder sort(Sort sort)
An object that contains the
SortByandSortOrderattributes.- Parameters:
sort- An object that contains theSortByandSortOrderattributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default SearchAgreementsRequest.Builder sort(Consumer<Sort.Builder> sort)
An object that contains the
This is a convenience method that creates an instance of theSortByandSortOrderattributes.Sort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(Sort).- Parameters:
sort- a consumer that will call methods onSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sort(Sort)
-
overrideConfiguration
SearchAgreementsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchAgreementsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-