@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOpsItemRelatedItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListOpsItemRelatedItemsRequest() |
Modifier and Type | Method and Description |
---|---|
ListOpsItemRelatedItemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<OpsItemRelatedItemsFilter> |
getFilters()
One or more OpsItem filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
String |
getOpsItemId()
The ID of the OpsItem for which you want to list all related-item resources.
|
int |
hashCode() |
void |
setFilters(Collection<OpsItemRelatedItemsFilter> filters)
One or more OpsItem filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setOpsItemId(String opsItemId)
The ID of the OpsItem for which you want to list all related-item resources.
|
String |
toString()
Returns a string representation of this object.
|
ListOpsItemRelatedItemsRequest |
withFilters(Collection<OpsItemRelatedItemsFilter> filters)
One or more OpsItem filters.
|
ListOpsItemRelatedItemsRequest |
withFilters(OpsItemRelatedItemsFilter... filters)
One or more OpsItem filters.
|
ListOpsItemRelatedItemsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
ListOpsItemRelatedItemsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
ListOpsItemRelatedItemsRequest |
withOpsItemId(String opsItemId)
The ID of the OpsItem for which you want to list all related-item resources.
|
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, withSdkRequestTimeout
public void setOpsItemId(String opsItemId)
The ID of the OpsItem for which you want to list all related-item resources.
opsItemId
- The ID of the OpsItem for which you want to list all related-item resources.public String getOpsItemId()
The ID of the OpsItem for which you want to list all related-item resources.
public ListOpsItemRelatedItemsRequest withOpsItemId(String opsItemId)
The ID of the OpsItem for which you want to list all related-item resources.
opsItemId
- The ID of the OpsItem for which you want to list all related-item resources.public List<OpsItemRelatedItemsFilter> getFilters()
One or more OpsItem filters. Use a filter to return a more specific list of results.
public void setFilters(Collection<OpsItemRelatedItemsFilter> filters)
One or more OpsItem filters. Use a filter to return a more specific list of results.
filters
- One or more OpsItem filters. Use a filter to return a more specific list of results.public ListOpsItemRelatedItemsRequest withFilters(OpsItemRelatedItemsFilter... filters)
One or more OpsItem filters. Use a filter to return a more specific list of results.
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
- One or more OpsItem filters. Use a filter to return a more specific list of results.public ListOpsItemRelatedItemsRequest withFilters(Collection<OpsItemRelatedItemsFilter> filters)
One or more OpsItem filters. Use a filter to return a more specific list of results.
filters
- One or more OpsItem filters. Use a filter to return a more specific list of results.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public ListOpsItemRelatedItemsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public ListOpsItemRelatedItemsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public ListOpsItemRelatedItemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()