Interface SearchAgreementsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchAgreementsRequest.Builder,,SearchAgreementsRequest> MarketplaceAgreementRequest.Builder,SdkBuilder<SearchAgreementsRequest.Builder,,SearchAgreementsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchAgreementsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog in which the agreement was created.filters(Collection<Filter> filters) The filter name and value pair used to return a specific list of results.filters(Consumer<Filter.Builder>... filters) The filter name and value pair used to return a specific list of results.The filter name and value pair used to return a specific list of results.maxResults(Integer maxResults) The maximum number of agreements to return in the response.A token to specify where to start pagination.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default SearchAgreementsRequest.Buildersort(Consumer<Sort.Builder> sort) An object that contains theSortByandSortOrderattributes.An object that contains theSortByandSortOrderattributes.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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,SaaSProduct,ProfessionalServicesProduct, orMachineLearningProduct). -
PartyType– The party type of the caller. UseProposerorAcceptor. -
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,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. -
BeforeStartTime– A date used to filter agreements with a date before thestartTimeof an agreement. -
AfterStartTime– A date used to filter agreements with a date after thestartTimeof an agreement. -
BeforeLastUpdateTime– A date used to filter agreements with a date before thelastUpdateTimeof an agreement. -
AfterLastUpdateTime– A date used to filter agreements with a date after thelastUpdateTimeof an agreement. -
AgreementType– The type of agreement. Supported value includesPurchaseAgreement. -
OfferSetId– A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context. -
EndTimeBehaviorType– What happens to the agreement when it reaches its end date. Values includeRENEW,REPLACE, andEXPIRE. -
EndTimeBehaviorReasonCode– The reason why the agreement doesn't renew at its end date. Values includePROPOSER_RENEW_OPTED_OUT,ACCEPTOR_RENEW_OPTED_OUT,NO_RENEWAL_TERM, andRENEWAL_LIMIT_EXHAUSTED. -
InitialAgreementId– The unique identifier of the very first agreement in a chain of related agreements. Use this filter to return every agreement in the same chain. -
LicenseArn– The Amazon Resource Name (ARN) of the AWS License Manager license associated with an entitlement granted by the agreement.
A proposer can use any combination of the preceding filters along with
AgreementType, which is required.The following filter combinations are supported when the
PartyTypeisAcceptor:-
AgreementType -
AgreementType+Status -
AgreementType+EndTime -
AgreementType+Status+EndTime -
AgreementType+ResourceIdentifier -
AgreementType+ResourceIdentifier+EndTime -
AgreementType+ResourceIdentifier+Status -
AgreementType+ResourceIdentifier+Status+EndTime -
AgreementType+ResourceType -
AgreementType+ResourceType+EndTime -
AgreementType+OfferId -
AgreementType+OfferId+EndTime -
AgreementType+OfferId+Status -
AgreementType+OfferId+Status+EndTime -
AgreementType+OfferSetId -
AgreementType+OfferSetId+EndTime -
AgreementType+OfferSetId+Status -
AgreementType+OfferSetId+Status+EndTime
To filter by
EndTime, you can useBeforeEndTime,AfterEndTime, or both.- 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,SaaSProduct,ProfessionalServicesProduct, orMachineLearningProduct). -
PartyType– The party type of the caller. UseProposerorAcceptor. -
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,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. -
BeforeStartTime– A date used to filter agreements with a date before thestartTimeof an agreement. -
AfterStartTime– A date used to filter agreements with a date after thestartTimeof an agreement. -
BeforeLastUpdateTime– A date used to filter agreements with a date before thelastUpdateTimeof an agreement. -
AfterLastUpdateTime– A date used to filter agreements with a date after thelastUpdateTimeof an agreement. -
AgreementType– The type of agreement. Supported value includesPurchaseAgreement. -
OfferSetId– A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context. -
EndTimeBehaviorType– What happens to the agreement when it reaches its end date. Values includeRENEW,REPLACE, andEXPIRE. -
EndTimeBehaviorReasonCode– The reason why the agreement doesn't renew at its end date. Values includePROPOSER_RENEW_OPTED_OUT,ACCEPTOR_RENEW_OPTED_OUT,NO_RENEWAL_TERM, andRENEWAL_LIMIT_EXHAUSTED. -
InitialAgreementId– The unique identifier of the very first agreement in a chain of related agreements. Use this filter to return every agreement in the same chain. -
LicenseArn– The Amazon Resource Name (ARN) of the AWS License Manager license associated with an entitlement granted by the agreement.
A proposer can use any combination of the preceding filters along with
AgreementType, which is required.The following filter combinations are supported when the
PartyTypeisAcceptor:-
AgreementType -
AgreementType+Status -
AgreementType+EndTime -
AgreementType+Status+EndTime -
AgreementType+ResourceIdentifier -
AgreementType+ResourceIdentifier+EndTime -
AgreementType+ResourceIdentifier+Status -
AgreementType+ResourceIdentifier+Status+EndTime -
AgreementType+ResourceType -
AgreementType+ResourceType+EndTime -
AgreementType+OfferId -
AgreementType+OfferId+EndTime -
AgreementType+OfferId+Status -
AgreementType+OfferId+Status+EndTime -
AgreementType+OfferSetId -
AgreementType+OfferSetId+EndTime -
AgreementType+OfferSetId+Status -
AgreementType+OfferSetId+Status+EndTime
To filter by
EndTime, you can useBeforeEndTime,AfterEndTime, or both.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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,SaaSProduct,ProfessionalServicesProduct, orMachineLearningProduct). -
PartyType– The party type of the caller. UseProposerorAcceptor. -
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,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. -
BeforeStartTime– A date used to filter agreements with a date before thestartTimeof an agreement. -
AfterStartTime– A date used to filter agreements with a date after thestartTimeof an agreement. -
BeforeLastUpdateTime– A date used to filter agreements with a date before thelastUpdateTimeof an agreement. -
AfterLastUpdateTime– A date used to filter agreements with a date after thelastUpdateTimeof an agreement. -
AgreementType– The type of agreement. Supported value includesPurchaseAgreement. -
OfferSetId– A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context. -
EndTimeBehaviorType– What happens to the agreement when it reaches its end date. Values includeRENEW,REPLACE, andEXPIRE. -
EndTimeBehaviorReasonCode– The reason why the agreement doesn't renew at its end date. Values includePROPOSER_RENEW_OPTED_OUT,ACCEPTOR_RENEW_OPTED_OUT,NO_RENEWAL_TERM, andRENEWAL_LIMIT_EXHAUSTED. -
InitialAgreementId– The unique identifier of the very first agreement in a chain of related agreements. Use this filter to return every agreement in the same chain. -
LicenseArn– The Amazon Resource Name (ARN) of the AWS License Manager license associated with an entitlement granted by the agreement.
A proposer can use any combination of the preceding filters along with
AgreementType, which is required.The following filter combinations are supported when the
PartyTypeisAcceptor:-
AgreementType -
AgreementType+Status -
AgreementType+EndTime -
AgreementType+Status+EndTime -
AgreementType+ResourceIdentifier -
AgreementType+ResourceIdentifier+EndTime -
AgreementType+ResourceIdentifier+Status -
AgreementType+ResourceIdentifier+Status+EndTime -
AgreementType+ResourceType -
AgreementType+ResourceType+EndTime -
AgreementType+OfferId -
AgreementType+OfferId+EndTime -
AgreementType+OfferId+Status -
AgreementType+OfferId+Status+EndTime -
AgreementType+OfferSetId -
AgreementType+OfferSetId+EndTime -
AgreementType+OfferSetId+Status -
AgreementType+OfferSetId+Status+EndTime
To filter by
EndTime, you can useBeforeEndTime,AfterEndTime, or both.- 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,SaaSProduct,ProfessionalServicesProduct, orMachineLearningProduct). -
PartyType– The party type of the caller. UseProposerorAcceptor. -
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,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. -
BeforeStartTime– A date used to filter agreements with a date before thestartTimeof an agreement. -
AfterStartTime– A date used to filter agreements with a date after thestartTimeof an agreement. -
BeforeLastUpdateTime– A date used to filter agreements with a date before thelastUpdateTimeof an agreement. -
AfterLastUpdateTime– A date used to filter agreements with a date after thelastUpdateTimeof an agreement. -
AgreementType– The type of agreement. Supported value includesPurchaseAgreement. -
OfferSetId– A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context. -
EndTimeBehaviorType– What happens to the agreement when it reaches its end date. Values includeRENEW,REPLACE, andEXPIRE. -
EndTimeBehaviorReasonCode– The reason why the agreement doesn't renew at its end date. Values includePROPOSER_RENEW_OPTED_OUT,ACCEPTOR_RENEW_OPTED_OUT,NO_RENEWAL_TERM, andRENEWAL_LIMIT_EXHAUSTED. -
InitialAgreementId– The unique identifier of the very first agreement in a chain of related agreements. Use this filter to return every agreement in the same chain. -
LicenseArn– The Amazon Resource Name (ARN) of the AWS License Manager license associated with an entitlement granted by the agreement.
A proposer can use any combination of the preceding filters along with
AgreementType, which is required.The following filter combinations are supported when the
PartyTypeisAcceptor:-
AgreementType -
AgreementType+Status -
AgreementType+EndTime -
AgreementType+Status+EndTime -
AgreementType+ResourceIdentifier -
AgreementType+ResourceIdentifier+EndTime -
AgreementType+ResourceIdentifier+Status -
AgreementType+ResourceIdentifier+Status+EndTime -
AgreementType+ResourceType -
AgreementType+ResourceType+EndTime -
AgreementType+OfferId -
AgreementType+OfferId+EndTime -
AgreementType+OfferId+Status -
AgreementType+OfferId+Status+EndTime -
AgreementType+OfferSetId -
AgreementType+OfferSetId+EndTime -
AgreementType+OfferSetId+Status -
AgreementType+OfferSetId+Status+EndTime
To filter by
EndTime, you can useBeforeEndTime,AfterEndTime, or both.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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,SaaSProduct,ProfessionalServicesProduct, orMachineLearningProduct). -
PartyType– The party type of the caller. UseProposerorAcceptor. -
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,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. -
BeforeStartTime– A date used to filter agreements with a date before thestartTimeof an agreement. -
AfterStartTime– A date used to filter agreements with a date after thestartTimeof an agreement. -
BeforeLastUpdateTime– A date used to filter agreements with a date before thelastUpdateTimeof an agreement. -
AfterLastUpdateTime– A date used to filter agreements with a date after thelastUpdateTimeof an agreement. -
AgreementType– The type of agreement. Supported value includesPurchaseAgreement. -
OfferSetId– A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context. -
EndTimeBehaviorType– What happens to the agreement when it reaches its end date. Values includeRENEW,REPLACE, andEXPIRE. -
EndTimeBehaviorReasonCode– The reason why the agreement doesn't renew at its end date. Values includePROPOSER_RENEW_OPTED_OUT,ACCEPTOR_RENEW_OPTED_OUT,NO_RENEWAL_TERM, andRENEWAL_LIMIT_EXHAUSTED. -
InitialAgreementId– The unique identifier of the very first agreement in a chain of related agreements. Use this filter to return every agreement in the same chain. -
LicenseArn– The Amazon Resource Name (ARN) of the AWS License Manager license associated with an entitlement granted by the agreement.
A proposer can use any combination of the preceding filters along with
AgreementType, which is required.The following filter combinations are supported when the
PartyTypeisAcceptor:-
AgreementType -
AgreementType+Status -
AgreementType+EndTime -
AgreementType+Status+EndTime -
AgreementType+ResourceIdentifier -
AgreementType+ResourceIdentifier+EndTime -
AgreementType+ResourceIdentifier+Status -
AgreementType+ResourceIdentifier+Status+EndTime -
AgreementType+ResourceType -
AgreementType+ResourceType+EndTime -
AgreementType+OfferId -
AgreementType+OfferId+EndTime -
AgreementType+OfferId+Status -
AgreementType+OfferId+Status+EndTime -
AgreementType+OfferSetId -
AgreementType+OfferSetId+EndTime -
AgreementType+OfferSetId+Status -
AgreementType+OfferSetId+Status+EndTime
This is a convenience method that creates an instance of theTo filter by
EndTime, you can useBeforeEndTime,AfterEndTime, or both.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- 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:
-
-
sort
An object that contains the
SortByandSortOrderattributes. ForSearchAgreements,SortBysupportsEndTimefor both party types, andStartTimeandLastUpdateTimeonly whenPartyTypeisProposer. The defaultSortByvalue isEndTime.- Parameters:
sort- An object that contains theSortByandSortOrderattributes. ForSearchAgreements,SortBysupportsEndTimefor both party types, andStartTimeandLastUpdateTimeonly whenPartyTypeisProposer. The defaultSortByvalue isEndTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
An object that contains the
This is a convenience method that creates an instance of theSortByandSortOrderattributes. ForSearchAgreements,SortBysupportsEndTimefor both party types, andStartTimeandLastUpdateTimeonly whenPartyTypeisProposer. The defaultSortByvalue isEndTime.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:
-
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
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.
-
overrideConfiguration
SearchAgreementsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchAgreementsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-