@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchAgreementsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SearchAgreementsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SearchAgreementsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalog()
The catalog in which the agreement was created.
|
List<Filter> |
getFilters()
The filter name and value pair used to return a specific list of results.
|
Integer |
getMaxResults()
The maximum number of agreements to return in the response.
|
String |
getNextToken()
A token to specify where to start pagination.
|
Sort |
getSort()
An object that contains the
SortBy and SortOrder attributes. |
int |
hashCode() |
void |
setCatalog(String catalog)
The catalog in which the agreement was created.
|
void |
setFilters(Collection<Filter> filters)
The filter name and value pair used to return a specific list of results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of agreements to return in the response.
|
void |
setNextToken(String nextToken)
A token to specify where to start pagination.
|
void |
setSort(Sort sort)
An object that contains the
SortBy and SortOrder attributes. |
String |
toString()
Returns a string representation of this object.
|
SearchAgreementsRequest |
withCatalog(String catalog)
The catalog in which the agreement was created.
|
SearchAgreementsRequest |
withFilters(Collection<Filter> filters)
The filter name and value pair used to return a specific list of results.
|
SearchAgreementsRequest |
withFilters(Filter... filters)
The filter name and value pair used to return a specific list of results.
|
SearchAgreementsRequest |
withMaxResults(Integer maxResults)
The maximum number of agreements to return in the response.
|
SearchAgreementsRequest |
withNextToken(String nextToken)
A token to specify where to start pagination.
|
SearchAgreementsRequest |
withSort(Sort sort)
An object that contains the
SortBy and SortOrder attributes. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCatalog(String catalog)
The catalog in which the agreement was created.
catalog - The catalog in which the agreement was created.public String getCatalog()
The catalog in which the agreement was created.
public SearchAgreementsRequest withCatalog(String catalog)
The catalog in which the agreement was created.
catalog - The catalog in which the agreement was created.public List<Filter> getFilters()
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.
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.
public void setFilters(Collection<Filter> 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.
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.
public SearchAgreementsRequest withFilters(Filter... 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.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
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.
public SearchAgreementsRequest withFilters(Collection<Filter> 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.
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.
public void setMaxResults(Integer maxResults)
The maximum number of agreements to return in the response.
maxResults - The maximum number of agreements to return in the response.public Integer getMaxResults()
The maximum number of agreements to return in the response.
public SearchAgreementsRequest withMaxResults(Integer maxResults)
The maximum number of agreements to return in the response.
maxResults - The maximum number of agreements to return in the response.public void setNextToken(String nextToken)
A token to specify where to start pagination.
nextToken - A token to specify where to start pagination.public String getNextToken()
A token to specify where to start pagination.
public SearchAgreementsRequest withNextToken(String nextToken)
A token to specify where to start pagination.
nextToken - A token to specify where to start pagination.public void setSort(Sort sort)
An object that contains the SortBy and SortOrder attributes.
sort - An object that contains the SortBy and SortOrder attributes.public Sort getSort()
An object that contains the SortBy and SortOrder attributes.
SortBy and SortOrder attributes.public SearchAgreementsRequest withSort(Sort sort)
An object that contains the SortBy and SortOrder attributes.
sort - An object that contains the SortBy and SortOrder attributes.public String toString()
toString in class ObjectObject.toString()public SearchAgreementsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()