Interface OfferFilters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OfferFilters.Builder,OfferFilters>,SdkBuilder<OfferFilters.Builder,OfferFilters>,SdkPojo
- Enclosing class:
- OfferFilters
public static interface OfferFilters.Builder extends SdkPojo, CopyableBuilder<OfferFilters.Builder,OfferFilters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OfferFilters.BuilderavailabilityEndDate(Consumer<OfferAvailabilityEndDateFilter.Builder> availabilityEndDate)Allows filtering on theAvailabilityEndDateof an offer.OfferFilters.BuilderavailabilityEndDate(OfferAvailabilityEndDateFilter availabilityEndDate)Allows filtering on theAvailabilityEndDateof an offer.default OfferFilters.BuilderbuyerAccounts(Consumer<OfferBuyerAccountsFilter.Builder> buyerAccounts)Allows filtering on theBuyerAccountsof an offer.OfferFilters.BuilderbuyerAccounts(OfferBuyerAccountsFilter buyerAccounts)Allows filtering on theBuyerAccountsof an offer.default OfferFilters.BuilderentityId(Consumer<OfferEntityIdFilter.Builder> entityId)Allows filtering onEntityIdof an offer.OfferFilters.BuilderentityId(OfferEntityIdFilter entityId)Allows filtering onEntityIdof an offer.default OfferFilters.BuilderlastModifiedDate(Consumer<OfferLastModifiedDateFilter.Builder> lastModifiedDate)Allows filtering on theLastModifiedDateof an offer.OfferFilters.BuilderlastModifiedDate(OfferLastModifiedDateFilter lastModifiedDate)Allows filtering on theLastModifiedDateof an offer.default OfferFilters.Buildername(Consumer<OfferNameFilter.Builder> name)Allows filtering on theNameof an offer.OfferFilters.Buildername(OfferNameFilter name)Allows filtering on theNameof an offer.default OfferFilters.BuilderproductId(Consumer<OfferProductIdFilter.Builder> productId)Allows filtering on theProductIdof an offer.OfferFilters.BuilderproductId(OfferProductIdFilter productId)Allows filtering on theProductIdof an offer.default OfferFilters.BuilderreleaseDate(Consumer<OfferReleaseDateFilter.Builder> releaseDate)Allows filtering on theReleaseDateof an offer.OfferFilters.BuilderreleaseDate(OfferReleaseDateFilter releaseDate)Allows filtering on theReleaseDateof an offer.default OfferFilters.Builderstate(Consumer<OfferStateFilter.Builder> state)Allows filtering on theStateof an offer.OfferFilters.Builderstate(OfferStateFilter state)Allows filtering on theStateof an offer.default OfferFilters.Buildertargeting(Consumer<OfferTargetingFilter.Builder> targeting)Allows filtering on theTargetingof an offer.OfferFilters.Buildertargeting(OfferTargetingFilter targeting)Allows filtering on theTargetingof an offer.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
entityId
OfferFilters.Builder entityId(OfferEntityIdFilter entityId)
Allows filtering on
EntityIdof an offer.- Parameters:
entityId- Allows filtering onEntityIdof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
default OfferFilters.Builder entityId(Consumer<OfferEntityIdFilter.Builder> entityId)
Allows filtering on
This is a convenience method that creates an instance of theEntityIdof an offer.OfferEntityIdFilter.Builderavoiding the need to create one manually viaOfferEntityIdFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityId(OfferEntityIdFilter).- Parameters:
entityId- a consumer that will call methods onOfferEntityIdFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
entityId(OfferEntityIdFilter)
-
name
OfferFilters.Builder name(OfferNameFilter name)
Allows filtering on the
Nameof an offer.- Parameters:
name- Allows filtering on theNameof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
default OfferFilters.Builder name(Consumer<OfferNameFilter.Builder> name)
Allows filtering on the
This is a convenience method that creates an instance of theNameof an offer.OfferNameFilter.Builderavoiding the need to create one manually viaOfferNameFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toname(OfferNameFilter).- Parameters:
name- a consumer that will call methods onOfferNameFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
name(OfferNameFilter)
-
productId
OfferFilters.Builder productId(OfferProductIdFilter productId)
Allows filtering on the
ProductIdof an offer.- Parameters:
productId- Allows filtering on theProductIdof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productId
default OfferFilters.Builder productId(Consumer<OfferProductIdFilter.Builder> productId)
Allows filtering on the
This is a convenience method that creates an instance of theProductIdof an offer.OfferProductIdFilter.Builderavoiding the need to create one manually viaOfferProductIdFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproductId(OfferProductIdFilter).- Parameters:
productId- a consumer that will call methods onOfferProductIdFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
productId(OfferProductIdFilter)
-
releaseDate
OfferFilters.Builder releaseDate(OfferReleaseDateFilter releaseDate)
Allows filtering on the
ReleaseDateof an offer.- Parameters:
releaseDate- Allows filtering on theReleaseDateof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseDate
default OfferFilters.Builder releaseDate(Consumer<OfferReleaseDateFilter.Builder> releaseDate)
Allows filtering on the
This is a convenience method that creates an instance of theReleaseDateof an offer.OfferReleaseDateFilter.Builderavoiding the need to create one manually viaOfferReleaseDateFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreleaseDate(OfferReleaseDateFilter).- Parameters:
releaseDate- a consumer that will call methods onOfferReleaseDateFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
releaseDate(OfferReleaseDateFilter)
-
availabilityEndDate
OfferFilters.Builder availabilityEndDate(OfferAvailabilityEndDateFilter availabilityEndDate)
Allows filtering on the
AvailabilityEndDateof an offer.- Parameters:
availabilityEndDate- Allows filtering on theAvailabilityEndDateof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityEndDate
default OfferFilters.Builder availabilityEndDate(Consumer<OfferAvailabilityEndDateFilter.Builder> availabilityEndDate)
Allows filtering on the
This is a convenience method that creates an instance of theAvailabilityEndDateof an offer.OfferAvailabilityEndDateFilter.Builderavoiding the need to create one manually viaOfferAvailabilityEndDateFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailabilityEndDate(OfferAvailabilityEndDateFilter).- Parameters:
availabilityEndDate- a consumer that will call methods onOfferAvailabilityEndDateFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
availabilityEndDate(OfferAvailabilityEndDateFilter)
-
buyerAccounts
OfferFilters.Builder buyerAccounts(OfferBuyerAccountsFilter buyerAccounts)
Allows filtering on the
BuyerAccountsof an offer.- Parameters:
buyerAccounts- Allows filtering on theBuyerAccountsof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buyerAccounts
default OfferFilters.Builder buyerAccounts(Consumer<OfferBuyerAccountsFilter.Builder> buyerAccounts)
Allows filtering on the
This is a convenience method that creates an instance of theBuyerAccountsof an offer.OfferBuyerAccountsFilter.Builderavoiding the need to create one manually viaOfferBuyerAccountsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuyerAccounts(OfferBuyerAccountsFilter).- Parameters:
buyerAccounts- a consumer that will call methods onOfferBuyerAccountsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
buyerAccounts(OfferBuyerAccountsFilter)
-
state
OfferFilters.Builder state(OfferStateFilter state)
Allows filtering on the
Stateof an offer.- Parameters:
state- Allows filtering on theStateof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default OfferFilters.Builder state(Consumer<OfferStateFilter.Builder> state)
Allows filtering on the
This is a convenience method that creates an instance of theStateof an offer.OfferStateFilter.Builderavoiding the need to create one manually viaOfferStateFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(OfferStateFilter).- Parameters:
state- a consumer that will call methods onOfferStateFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(OfferStateFilter)
-
targeting
OfferFilters.Builder targeting(OfferTargetingFilter targeting)
Allows filtering on the
Targetingof an offer.- Parameters:
targeting- Allows filtering on theTargetingof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targeting
default OfferFilters.Builder targeting(Consumer<OfferTargetingFilter.Builder> targeting)
Allows filtering on the
This is a convenience method that creates an instance of theTargetingof an offer.OfferTargetingFilter.Builderavoiding the need to create one manually viaOfferTargetingFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargeting(OfferTargetingFilter).- Parameters:
targeting- a consumer that will call methods onOfferTargetingFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targeting(OfferTargetingFilter)
-
lastModifiedDate
OfferFilters.Builder lastModifiedDate(OfferLastModifiedDateFilter lastModifiedDate)
Allows filtering on the
LastModifiedDateof an offer.- Parameters:
lastModifiedDate- Allows filtering on theLastModifiedDateof an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
default OfferFilters.Builder lastModifiedDate(Consumer<OfferLastModifiedDateFilter.Builder> lastModifiedDate)
Allows filtering on the
This is a convenience method that creates an instance of theLastModifiedDateof an offer.OfferLastModifiedDateFilter.Builderavoiding the need to create one manually viaOfferLastModifiedDateFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastModifiedDate(OfferLastModifiedDateFilter).- Parameters:
lastModifiedDate- a consumer that will call methods onOfferLastModifiedDateFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastModifiedDate(OfferLastModifiedDateFilter)
-
-