@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OfferFilters extends Object implements Serializable, Cloneable, StructuredPojo
Object containing all the filter fields for offers entity. Client can add only one wildcard filter and a maximum of 8
filters in a single ListEntities
request.
Constructor and Description |
---|
OfferFilters() |
Modifier and Type | Method and Description |
---|---|
OfferFilters |
clone() |
boolean |
equals(Object obj) |
OfferAvailabilityEndDateFilter |
getAvailabilityEndDate()
Allows filtering on the
AvailabilityEndDate of an offer. |
OfferBuyerAccountsFilter |
getBuyerAccounts()
Allows filtering on the
BuyerAccounts of an offer. |
OfferEntityIdFilter |
getEntityId()
Allows filtering on
EntityId of an offer. |
OfferLastModifiedDateFilter |
getLastModifiedDate()
Allows filtering on the
LastModifiedDate of an offer. |
OfferNameFilter |
getName()
Allows filtering on the
Name of an offer. |
OfferProductIdFilter |
getProductId()
Allows filtering on the
ProductId of an offer. |
OfferReleaseDateFilter |
getReleaseDate()
Allows filtering on the
ReleaseDate of an offer. |
OfferResaleAuthorizationIdFilter |
getResaleAuthorizationId()
Allows filtering on the
ResaleAuthorizationId of an offer. |
OfferStateFilter |
getState()
Allows filtering on the
State of an offer. |
OfferTargetingFilter |
getTargeting()
Allows filtering on the
Targeting of an offer. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityEndDate(OfferAvailabilityEndDateFilter availabilityEndDate)
Allows filtering on the
AvailabilityEndDate of an offer. |
void |
setBuyerAccounts(OfferBuyerAccountsFilter buyerAccounts)
Allows filtering on the
BuyerAccounts of an offer. |
void |
setEntityId(OfferEntityIdFilter entityId)
Allows filtering on
EntityId of an offer. |
void |
setLastModifiedDate(OfferLastModifiedDateFilter lastModifiedDate)
Allows filtering on the
LastModifiedDate of an offer. |
void |
setName(OfferNameFilter name)
Allows filtering on the
Name of an offer. |
void |
setProductId(OfferProductIdFilter productId)
Allows filtering on the
ProductId of an offer. |
void |
setReleaseDate(OfferReleaseDateFilter releaseDate)
Allows filtering on the
ReleaseDate of an offer. |
void |
setResaleAuthorizationId(OfferResaleAuthorizationIdFilter resaleAuthorizationId)
Allows filtering on the
ResaleAuthorizationId of an offer. |
void |
setState(OfferStateFilter state)
Allows filtering on the
State of an offer. |
void |
setTargeting(OfferTargetingFilter targeting)
Allows filtering on the
Targeting of an offer. |
String |
toString()
Returns a string representation of this object.
|
OfferFilters |
withAvailabilityEndDate(OfferAvailabilityEndDateFilter availabilityEndDate)
Allows filtering on the
AvailabilityEndDate of an offer. |
OfferFilters |
withBuyerAccounts(OfferBuyerAccountsFilter buyerAccounts)
Allows filtering on the
BuyerAccounts of an offer. |
OfferFilters |
withEntityId(OfferEntityIdFilter entityId)
Allows filtering on
EntityId of an offer. |
OfferFilters |
withLastModifiedDate(OfferLastModifiedDateFilter lastModifiedDate)
Allows filtering on the
LastModifiedDate of an offer. |
OfferFilters |
withName(OfferNameFilter name)
Allows filtering on the
Name of an offer. |
OfferFilters |
withProductId(OfferProductIdFilter productId)
Allows filtering on the
ProductId of an offer. |
OfferFilters |
withReleaseDate(OfferReleaseDateFilter releaseDate)
Allows filtering on the
ReleaseDate of an offer. |
OfferFilters |
withResaleAuthorizationId(OfferResaleAuthorizationIdFilter resaleAuthorizationId)
Allows filtering on the
ResaleAuthorizationId of an offer. |
OfferFilters |
withState(OfferStateFilter state)
Allows filtering on the
State of an offer. |
OfferFilters |
withTargeting(OfferTargetingFilter targeting)
Allows filtering on the
Targeting of an offer. |
public void setEntityId(OfferEntityIdFilter entityId)
Allows filtering on EntityId
of an offer.
entityId
- Allows filtering on EntityId
of an offer.public OfferEntityIdFilter getEntityId()
Allows filtering on EntityId
of an offer.
EntityId
of an offer.public OfferFilters withEntityId(OfferEntityIdFilter entityId)
Allows filtering on EntityId
of an offer.
entityId
- Allows filtering on EntityId
of an offer.public void setName(OfferNameFilter name)
Allows filtering on the Name
of an offer.
name
- Allows filtering on the Name
of an offer.public OfferNameFilter getName()
Allows filtering on the Name
of an offer.
Name
of an offer.public OfferFilters withName(OfferNameFilter name)
Allows filtering on the Name
of an offer.
name
- Allows filtering on the Name
of an offer.public void setProductId(OfferProductIdFilter productId)
Allows filtering on the ProductId
of an offer.
productId
- Allows filtering on the ProductId
of an offer.public OfferProductIdFilter getProductId()
Allows filtering on the ProductId
of an offer.
ProductId
of an offer.public OfferFilters withProductId(OfferProductIdFilter productId)
Allows filtering on the ProductId
of an offer.
productId
- Allows filtering on the ProductId
of an offer.public void setResaleAuthorizationId(OfferResaleAuthorizationIdFilter 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.
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.
public OfferResaleAuthorizationIdFilter getResaleAuthorizationId()
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.
ResaleAuthorizationId
of an offer.
Not all offers have a ResaleAuthorizationId
. The response will only include offers for which
you have permissions.
public OfferFilters withResaleAuthorizationId(OfferResaleAuthorizationIdFilter 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.
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.
public void setReleaseDate(OfferReleaseDateFilter releaseDate)
Allows filtering on the ReleaseDate
of an offer.
releaseDate
- Allows filtering on the ReleaseDate
of an offer.public OfferReleaseDateFilter getReleaseDate()
Allows filtering on the ReleaseDate
of an offer.
ReleaseDate
of an offer.public OfferFilters withReleaseDate(OfferReleaseDateFilter releaseDate)
Allows filtering on the ReleaseDate
of an offer.
releaseDate
- Allows filtering on the ReleaseDate
of an offer.public void setAvailabilityEndDate(OfferAvailabilityEndDateFilter availabilityEndDate)
Allows filtering on the AvailabilityEndDate
of an offer.
availabilityEndDate
- Allows filtering on the AvailabilityEndDate
of an offer.public OfferAvailabilityEndDateFilter getAvailabilityEndDate()
Allows filtering on the AvailabilityEndDate
of an offer.
AvailabilityEndDate
of an offer.public OfferFilters withAvailabilityEndDate(OfferAvailabilityEndDateFilter availabilityEndDate)
Allows filtering on the AvailabilityEndDate
of an offer.
availabilityEndDate
- Allows filtering on the AvailabilityEndDate
of an offer.public void setBuyerAccounts(OfferBuyerAccountsFilter buyerAccounts)
Allows filtering on the BuyerAccounts
of an offer.
buyerAccounts
- Allows filtering on the BuyerAccounts
of an offer.public OfferBuyerAccountsFilter getBuyerAccounts()
Allows filtering on the BuyerAccounts
of an offer.
BuyerAccounts
of an offer.public OfferFilters withBuyerAccounts(OfferBuyerAccountsFilter buyerAccounts)
Allows filtering on the BuyerAccounts
of an offer.
buyerAccounts
- Allows filtering on the BuyerAccounts
of an offer.public void setState(OfferStateFilter state)
Allows filtering on the State
of an offer.
state
- Allows filtering on the State
of an offer.public OfferStateFilter getState()
Allows filtering on the State
of an offer.
State
of an offer.public OfferFilters withState(OfferStateFilter state)
Allows filtering on the State
of an offer.
state
- Allows filtering on the State
of an offer.public void setTargeting(OfferTargetingFilter targeting)
Allows filtering on the Targeting
of an offer.
targeting
- Allows filtering on the Targeting
of an offer.public OfferTargetingFilter getTargeting()
Allows filtering on the Targeting
of an offer.
Targeting
of an offer.public OfferFilters withTargeting(OfferTargetingFilter targeting)
Allows filtering on the Targeting
of an offer.
targeting
- Allows filtering on the Targeting
of an offer.public void setLastModifiedDate(OfferLastModifiedDateFilter lastModifiedDate)
Allows filtering on the LastModifiedDate
of an offer.
lastModifiedDate
- Allows filtering on the LastModifiedDate
of an offer.public OfferLastModifiedDateFilter getLastModifiedDate()
Allows filtering on the LastModifiedDate
of an offer.
LastModifiedDate
of an offer.public OfferFilters withLastModifiedDate(OfferLastModifiedDateFilter lastModifiedDate)
Allows filtering on the LastModifiedDate
of an offer.
lastModifiedDate
- Allows filtering on the LastModifiedDate
of an offer.public String toString()
toString
in class Object
Object.toString()
public OfferFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.