/** * <p> * Use this only when paginating results to indicate the maximum number of items you want in the response. If * additional items exist beyond the maximum you specify, the <code>IsTruncated</code> response element is * <code>true</code>. * </p> * <p> * If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer * results, even when there are more results available. In that case, the <code>IsTruncated</code> response element * returns <code>true</code>, and <code>Marker</code> contains a value to include in the subsequent call that tells * the service where to continue from. * </p> * * @param maxItems * Use this only when paginating results to indicate the maximum number of items you want in the response. If * additional items exist beyond the maximum you specify, the <code>IsTruncated</code> response element is * <code>true</code>.</p> * <p> * If you do not include this parameter, the number of items defaults to 100. Note that IAM might return * fewer results, even when there are more results available. In that case, the <code>IsTruncated</code> * response element returns <code>true</code>, and <code>Marker</code> contains a value to include in the * subsequent call that tells the service where to continue from. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAttachedRolePoliciesRequest withMaxItems(Integer maxItems) { setMaxItems(maxItems); return this; }
/** * <p> * Use this only when paginating results to indicate the maximum number of items you want in the response. If * additional items exist beyond the maximum you specify, the <code>IsTruncated</code> response element is * <code>true</code>. * </p> * <p> * If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer * results, even when there are more results available. In that case, the <code>IsTruncated</code> response element * returns <code>true</code>, and <code>Marker</code> contains a value to include in the subsequent call that tells * the service where to continue from. * </p> * * @param maxItems * Use this only when paginating results to indicate the maximum number of items you want in the response. If * additional items exist beyond the maximum you specify, the <code>IsTruncated</code> response element is * <code>true</code>.</p> * <p> * If you do not include this parameter, the number of items defaults to 100. Note that IAM might return * fewer results, even when there are more results available. In that case, the <code>IsTruncated</code> * response element returns <code>true</code>, and <code>Marker</code> contains a value to include in the * subsequent call that tells the service where to continue from. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAttachedRolePoliciesRequest withMaxItems(Integer maxItems) { setMaxItems(maxItems); return this; }