Interface OfferFilters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OfferFilters.Builder,
,OfferFilters> SdkBuilder<OfferFilters.Builder,
,OfferFilters> SdkPojo
- Enclosing class:
OfferFilters
-
Method Summary
Modifier and TypeMethodDescriptiondefault OfferFilters.Builder
availabilityEndDate
(Consumer<OfferAvailabilityEndDateFilter.Builder> availabilityEndDate) Allows filtering on theAvailabilityEndDate
of an offer.availabilityEndDate
(OfferAvailabilityEndDateFilter availabilityEndDate) Allows filtering on theAvailabilityEndDate
of an offer.default OfferFilters.Builder
buyerAccounts
(Consumer<OfferBuyerAccountsFilter.Builder> buyerAccounts) Allows filtering on theBuyerAccounts
of an offer.buyerAccounts
(OfferBuyerAccountsFilter buyerAccounts) Allows filtering on theBuyerAccounts
of an offer.default OfferFilters.Builder
entityId
(Consumer<OfferEntityIdFilter.Builder> entityId) Allows filtering onEntityId
of an offer.entityId
(OfferEntityIdFilter entityId) Allows filtering onEntityId
of an offer.default OfferFilters.Builder
lastModifiedDate
(Consumer<OfferLastModifiedDateFilter.Builder> lastModifiedDate) Allows filtering on theLastModifiedDate
of an offer.lastModifiedDate
(OfferLastModifiedDateFilter lastModifiedDate) Allows filtering on theLastModifiedDate
of an offer.default OfferFilters.Builder
name
(Consumer<OfferNameFilter.Builder> name) Allows filtering on theName
of an offer.name
(OfferNameFilter name) Allows filtering on theName
of an offer.default OfferFilters.Builder
productId
(Consumer<OfferProductIdFilter.Builder> productId) Allows filtering on theProductId
of an offer.productId
(OfferProductIdFilter productId) Allows filtering on theProductId
of an offer.default OfferFilters.Builder
releaseDate
(Consumer<OfferReleaseDateFilter.Builder> releaseDate) Allows filtering on theReleaseDate
of an offer.releaseDate
(OfferReleaseDateFilter releaseDate) Allows filtering on theReleaseDate
of an offer.default OfferFilters.Builder
resaleAuthorizationId
(Consumer<OfferResaleAuthorizationIdFilter.Builder> resaleAuthorizationId) Allows filtering on theResaleAuthorizationId
of an offer.resaleAuthorizationId
(OfferResaleAuthorizationIdFilter resaleAuthorizationId) Allows filtering on theResaleAuthorizationId
of an offer.default OfferFilters.Builder
state
(Consumer<OfferStateFilter.Builder> state) Allows filtering on theState
of an offer.state
(OfferStateFilter state) Allows filtering on theState
of an offer.default OfferFilters.Builder
targeting
(Consumer<OfferTargetingFilter.Builder> targeting) Allows filtering on theTargeting
of an offer.targeting
(OfferTargetingFilter targeting) Allows filtering on theTargeting
of 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 Details
-
entityId
Allows filtering on
EntityId
of an offer.- Parameters:
entityId
- Allows filtering onEntityId
of an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
Allows filtering on
This is a convenience method that creates an instance of theEntityId
of an offer.OfferEntityIdFilter.Builder
avoiding the need to create one manually viaOfferEntityIdFilter.builder()
.When the
Consumer
completes,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:
-
name
Allows filtering on the
Name
of an offer.- Parameters:
name
- Allows filtering on theName
of an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Allows filtering on the
This is a convenience method that creates an instance of theName
of an offer.OfferNameFilter.Builder
avoiding the need to create one manually viaOfferNameFilter.builder()
.When the
Consumer
completes,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:
-
productId
Allows filtering on the
ProductId
of an offer.- Parameters:
productId
- Allows filtering on theProductId
of an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productId
Allows filtering on the
This is a convenience method that creates an instance of theProductId
of an offer.OfferProductIdFilter.Builder
avoiding the need to create one manually viaOfferProductIdFilter.builder()
.When the
Consumer
completes,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:
-
resaleAuthorizationId
Allows filtering on the
ResaleAuthorizationId
of an offer.Not all offers have a
ResaleAuthorizationId
. The response will only include offers for which you have permissions.- Parameters:
resaleAuthorizationId
- Allows filtering on theResaleAuthorizationId
of an offer.Not all offers have a
ResaleAuthorizationId
. The response will only include offers for which you have permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resaleAuthorizationId
default OfferFilters.Builder resaleAuthorizationId(Consumer<OfferResaleAuthorizationIdFilter.Builder> resaleAuthorizationId) Allows filtering on the
ResaleAuthorizationId
of an offer.Not all offers have a
ResaleAuthorizationId
. The response will only include offers for which you have permissions.OfferResaleAuthorizationIdFilter.Builder
avoiding the need to create one manually viaOfferResaleAuthorizationIdFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresaleAuthorizationId(OfferResaleAuthorizationIdFilter)
.- Parameters:
resaleAuthorizationId
- a consumer that will call methods onOfferResaleAuthorizationIdFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
releaseDate
Allows filtering on the
ReleaseDate
of an offer.- Parameters:
releaseDate
- Allows filtering on theReleaseDate
of an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseDate
Allows filtering on the
This is a convenience method that creates an instance of theReleaseDate
of an offer.OfferReleaseDateFilter.Builder
avoiding the need to create one manually viaOfferReleaseDateFilter.builder()
.When the
Consumer
completes,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:
-
availabilityEndDate
Allows filtering on the
AvailabilityEndDate
of an offer.- Parameters:
availabilityEndDate
- Allows filtering on theAvailabilityEndDate
of 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 theAvailabilityEndDate
of an offer.OfferAvailabilityEndDateFilter.Builder
avoiding the need to create one manually viaOfferAvailabilityEndDateFilter.builder()
.When the
Consumer
completes,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:
-
buyerAccounts
Allows filtering on the
BuyerAccounts
of an offer.- Parameters:
buyerAccounts
- Allows filtering on theBuyerAccounts
of 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 theBuyerAccounts
of an offer.OfferBuyerAccountsFilter.Builder
avoiding the need to create one manually viaOfferBuyerAccountsFilter.builder()
.When the
Consumer
completes,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:
-
state
Allows filtering on the
State
of an offer.- Parameters:
state
- Allows filtering on theState
of an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Allows filtering on the
This is a convenience method that creates an instance of theState
of an offer.OfferStateFilter.Builder
avoiding the need to create one manually viaOfferStateFilter.builder()
.When the
Consumer
completes,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:
-
targeting
Allows filtering on the
Targeting
of an offer.- Parameters:
targeting
- Allows filtering on theTargeting
of an offer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targeting
Allows filtering on the
This is a convenience method that creates an instance of theTargeting
of an offer.OfferTargetingFilter.Builder
avoiding the need to create one manually viaOfferTargetingFilter.builder()
.When the
Consumer
completes,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:
-
lastModifiedDate
Allows filtering on the
LastModifiedDate
of an offer.- Parameters:
lastModifiedDate
- Allows filtering on theLastModifiedDate
of 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 theLastModifiedDate
of an offer.OfferLastModifiedDateFilter.Builder
avoiding the need to create one manually viaOfferLastModifiedDateFilter.builder()
.When the
Consumer
completes,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:
-