/** * <p> * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not * return more than the specified number of items, but it might return fewer. * </p> * <p> * This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a * value, it defaults to 100. * </p> * * @param limit * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS * does not return more than the specified number of items, but it might return fewer.</p> * <p> * This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not * include a value, it defaults to 100. * @return Returns a reference to this object so that method calls can be chained together. */ public ListKeysRequest withLimit(Integer limit) { setLimit(limit); return this; }
/** * <p> * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not * return more than the specified number of items, but it might return fewer. * </p> * <p> * This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a * value, it defaults to 100. * </p> * * @param limit * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS * does not return more than the specified number of items, but it might return fewer.</p> * <p> * This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not * include a value, it defaults to 100. * @return Returns a reference to this object so that method calls can be chained together. */ public ListKeysRequest withLimit(Integer limit) { setLimit(limit); return this; }
/** * <p> * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not * return more than the specified number of items, but it might return fewer. * </p> * <p> * This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a * value, it defaults to 100. * </p> * * @param limit * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS * does not return more than the specified number of items, but it might return fewer.</p> * <p> * This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not * include a value, it defaults to 100. * @return Returns a reference to this object so that method calls can be chained together. */ public ListKeysRequest withLimit(Integer limit) { setLimit(limit); return this; }