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 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, or SaaSProduct).

      • PartyType – The party type (either Acceptor or Proposer) of the caller. For agreements where the caller is the proposer, use the Proposer filter. For agreements where the caller is the acceptor, use the Acceptor filter.

      • 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 include ACTIVE, ARCHIVED, CANCELLED, EXPIRED, RENEWED, REPLACED, and TERMINATED.

      • BeforeEndTime – A date used to filter agreements with a date before the endTime of an agreement.

      • AfterEndTime – A date used to filter agreements with a date after the endTime of an agreement.

      • AgreementType – The type of agreement. Values include PurchaseAgreement or VendorInsightsAgreement.

      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, or SaaSProduct).

      • PartyType – The party type (either Acceptor or Proposer) of the caller. For agreements where the caller is the proposer, use the Proposer filter. For agreements where the caller is the acceptor, use the Acceptor filter.

      • 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 include ACTIVE, ARCHIVED, CANCELLED, EXPIRED, RENEWED, REPLACED, and TERMINATED.

      • BeforeEndTime – A date used to filter agreements with a date before the endTime of an agreement.

      • AfterEndTime – A date used to filter agreements with a date after the endTime of an agreement.

      • AgreementType – The type of agreement. Values include PurchaseAgreement or VendorInsightsAgreement.

      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, or SaaSProduct).

      • PartyType – The party type (either Acceptor or Proposer) of the caller. For agreements where the caller is the proposer, use the Proposer filter. For agreements where the caller is the acceptor, use the Acceptor filter.

      • 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 include ACTIVE, ARCHIVED, CANCELLED, EXPIRED, RENEWED, REPLACED, and TERMINATED.

      • BeforeEndTime – A date used to filter agreements with a date before the endTime of an agreement.

      • AfterEndTime – A date used to filter agreements with a date after the endTime of an agreement.

      • AgreementType – The type of agreement. Values include PurchaseAgreement or VendorInsightsAgreement.

      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, or SaaSProduct).

      • PartyType – The party type (either Acceptor or Proposer) of the caller. For agreements where the caller is the proposer, use the Proposer filter. For agreements where the caller is the acceptor, use the Acceptor filter.

      • 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 include ACTIVE, ARCHIVED, CANCELLED, EXPIRED, RENEWED, REPLACED, and TERMINATED.

      • BeforeEndTime – A date used to filter agreements with a date before the endTime of an agreement.

      • AfterEndTime – A date used to filter agreements with a date after the endTime of an agreement.

      • AgreementType – The type of agreement. Values include PurchaseAgreement or VendorInsightsAgreement.

      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, or SaaSProduct).

      • PartyType – The party type (either Acceptor or Proposer) of the caller. For agreements where the caller is the proposer, use the Proposer filter. For agreements where the caller is the acceptor, use the Acceptor filter.

      • 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 include ACTIVE, ARCHIVED, CANCELLED, EXPIRED, RENEWED, REPLACED, and TERMINATED.

      • BeforeEndTime – A date used to filter agreements with a date before the endTime of an agreement.

      • AfterEndTime – A date used to filter agreements with a date after the endTime of an agreement.

      • AgreementType – The type of agreement. Values include PurchaseAgreement or VendorInsightsAgreement.

      This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<Filter>).

      Parameters:
      filters - a consumer that will call methods on Filter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      An object that contains the SortBy and SortOrder attributes.

      Parameters:
      sort - An object that contains the SortBy and SortOrder attributes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      An object that contains the SortBy and SortOrder attributes.

      This is a convenience method that creates an instance of the Sort.Builder avoiding the need to create one manually via Sort.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sort(Sort).

      Parameters:
      sort - a consumer that will call methods on Sort.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      SearchAgreementsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.